SUMMARY="Converter between DOS and Unix end-of-line delimiters" DESCRIPTION="DOS/Windows uses CR/LF at the end of lines whereas UNIX has \ just LF. Dos2unix and unix2dos are simple command line tools to convert \ between the two formats." HOMEPAGE="https://sourceforge.net/projects/dos2unix" COPYRIGHT="2009-2023 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="da07788bb2e029b0d63f6471d166f68528acd8da2cf14823a188e8a9d5c1fc15" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" dos2unix$secondaryArchSuffix = $portVersion compat >= 7 cmd:dos2unix cmd:unix2dos cmd:mac2unix cmd:unix2mac " REQUIRES=" haiku$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:make cmd:gcc$secondaryArchSuffix 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 }