SUMMARY="A GUI-based diff application"
DESCRIPTION="
PonpokoDiff is a graphical file comparison utility. \
It can compare two files and show its differences graphically. \
Currently, the comparison of folders is not supported. \
You can also use it as an extenal diff command of Subversion (--diff-cmd).
"

HOMEPAGE="https://code.google.com/p/ponpokodiff/"
SOURCE_URI="git+https://github.com/HaikuArchives/PonpokoDiff#f68f59d8f359ddbaeec89e2c8a72da93142c139d"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2008 PonpokoDiff Project Contributors"

ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"

PROVIDES="
	ponpokodiff = $portVersion
	app:ponpokodiff = $portVersion
	"
REQUIRES="
	haiku
	"
BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:make
	cmd:gcc
	"

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir
	cp -a objects/PonpokoDiff $appsDir
	addAppDeskbarSymlink $appsDir/PonpokoDiff
}
