dos2unix: bump version.

This commit is contained in:
Jerome Duval
2015-11-23 19:29:51 +00:00
parent c22fd25f1f
commit 4bce0a872d
2 changed files with 1 additions and 1 deletions

View 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
}