mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
spiff, revive old bep file to working recipe (#1325)
This commit is contained in:
committed by
waddlesplash
parent
7ae8243da1
commit
43e7206cb7
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user