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'"
HOMEPAGE="https://github.com/HaikuArchives/Spiff"
SOURCE_URI="git+https://github.com/HaikuArchives/Spiff#50fa5e3cfe1431071b1de57828508f6903b052c2"
REVISION="1"
#STATUS_HAIKU="stable"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"

PROVIDES="
	spiff = $portVersion
	cmd:spiff"

REQUIRES="
	haiku_devel
	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()
{
	cd SRC
	make
	cd ..
}

INSTALL()
{
	cd SRC
	make install
	mkdir -p $binDir
	mkdir -p $documentationDir
	cp -R insDir/man $documentationDir
	cd ..
}
