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, there's only minimal support for the comparison of folders.
PonpokoDiff can also be used as an external diff command of Subversion \
(--diff-cmd)."
HOMEPAGE="https://github.com/HaikuArchives/PonpokoDiff"
COPYRIGHT="2008 PonpokoDiff Project Contributors"
LICENSE="MIT"
REVISION="6"
SOURCE_URI="https://github.com/HaikuArchives/PonpokoDiff/archive/fca91836407a07c0c56f2410b4960e8db024130b.tar.gz"
CHECKSUM_SHA256="0e04cbabc123bb0892aa4bd386d3e95a5d448a17357f33e55cbc5874600a3b63"
SOURCE_DIR="PonpokoDiff-fca91836407a07c0c56f2410b4960e8db024130b/source"

ARCHITECTURES="all ?x86"

PROVIDES="
	ponpokodiff = $portVersion
	app:ponpokodiff = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	"

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

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