mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
dos2unix: bump version.
This commit is contained in:
56
app-text/dos2unix/dos2unix-7.3.2.recipe
Normal file
56
app-text/dos2unix/dos2unix-7.3.2.recipe
Normal file
@@ -0,0 +1,56 @@
|
||||
SUMMARY="Converter between DOS and Unix end-of-line"
|
||||
DESCRIPTION="DOS/Windows like to put CR/LF at the end of lines whereas UNIX like \
|
||||
to have just LF. Dos2unix and unix2dos are simple parser/converter command line \
|
||||
programs to convert between the two formats."
|
||||
HOMEPAGE="http://sourceforge.net/projects/dos2unix"
|
||||
COPYRIGHT="2009-2015 Erwin Waterlander
|
||||
1998 Christian Wurll
|
||||
1998 Bernd Johannes Wuebben
|
||||
1994-1995 Benjamin Lin"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/project/dos2unix/dos2unix/$portVersion/dos2unix-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c7e8ee0bb3e001cc25a4a908d9a81ac52d124133d6a524a59f995bc90d438689"
|
||||
PATCHES="dos2unix-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
dos2unix = $portVersion compat >= 7
|
||||
cmd:dos2unix
|
||||
cmd:unix2dos
|
||||
cmd:mac2unix
|
||||
cmd:unix2mac
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
cmd:find
|
||||
cmd:xargs
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
find -name "*.1" | xargs touch
|
||||
make $jobArgs ENABLE_NLS= MANFILES= MANPOTFILE= prefix="$prefix"
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make strip install MANFILES= ENABLE_NLS= MANPOTFILE= prefix="$prefix"
|
||||
|
||||
mkdir -p $docDir $manDir
|
||||
mv $prefix/share/doc/dos2unix-*/* $docDir/
|
||||
rm -rf $docDir/fr $docDir/de $docDir/es $docDir/nl $docDir/pl \
|
||||
$docDir/uk $docDir/pt_BR
|
||||
mv $prefix/share/man/man1 $manDir/
|
||||
|
||||
rm -rf $prefix/share
|
||||
}
|
||||
Reference in New Issue
Block a user