diff --git a/sys-apps/spiff/spiff-1.recipe b/sys-apps/spiff/spiff-1.recipe index 58eb086a6..2f9b7681d 100644 --- a/sys-apps/spiff/spiff-1.recipe +++ b/sys-apps/spiff/spiff-1.recipe @@ -1,58 +1,51 @@ -DESCRIPTION=" -'spiff' is a command line program that compares the contents of two files and \ -prints a description of the important differences between them in a form \ -rather like the standard 'diff' utility. However, unlike diff, it is not line \ -oriented -- it compares word sequences with all white space and newlines \ -disregarded, so even if formatting is different you only see the significant \ -differences. It also compares floating-point values with a tolerance, so you \ -can look in data files for discrepancies. -" SUMMARY="Advanced command line tool like standard 'diff'" +DESCRIPTION="spiff is a command line program that compares the contents of \ +two files and prints a description of the important differences between them \ +in a form rather like the standard 'diff' utility. However, unlike diff, it \ +is not line oriented -- it compares word sequences with all white space and \ +newlines disregarded, so even if formatting is different you only see the \ +significant differences. It also compares floating-point values with a \ +tolerance, so you can look in data files for discrepancies." HOMEPAGE="https://github.com/HaikuArchives/Spiff" -SOURCE_URI="git+https://github.com/HaikuArchives/Spiff#50fa5e3cfe1431071b1de57828508f6903b052c2" +COPYRIGHT="1988 Bellcore" +LICENSE="SPIFF" REVISION="1" -#STATUS_HAIKU="stable" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +srcGitRev="89f030f4d88cc85092783c2344f69625be564e98" +SOURCE_URI="https://github.com/HaikuArchives/Spiff/archive/$srcGitRev.tar.gz" +CHECKSUM_SHA256="6b6d4005f17f2fe7f67a0b49ee3ff0cfde75914ba99cf31c190f25ea3e1ac7c8" +SOURCE_DIR="Spiff-89f030f4d88cc85092783c2344f69625be564e98" + +ARCHITECTURES="x86_gcc2 !x86 !x86_64" PROVIDES=" spiff = $portVersion - cmd:spiff" - + cmd:spiff + " REQUIRES=" - haiku_devel + haiku lib:libncurses - lib:libroot -" - -BUILD_PREREQUIRES=" - haiku_devel - makefile_engine - devel:libncurses - cmd:gcc - cmd:make " BUILD_REQUIRES=" haiku_devel devel:libncurses " - -COPYRIGHT="1988 Bellcore" -LICENSE="SPIFF" +BUILD_PREREQUIRES=" + cmd:gcc + cmd:make + " BUILD() { cd SRC - make - cd .. + make $jobArgs } INSTALL() { cd SRC - make install mkdir -p $binDir - mkdir -p $documentationDir - cp -R insDir/man $documentationDir - cd .. + mkdir -p $manDir/man1 + cp spiff $binDir + cp spiff.1 $manDir/man1 }