SUMMARY="Colorizes output of diff"
DESCRIPTION="
The Perl script colordiff is a wrapper for 'diff' and produces the same output \
but with pretty 'syntax' highlighting. Colour schemes can be customized.
"
HOMEPAGE="http://colordiff.sourceforge.net/"
COPYRIGHT="2002-2012 Dave Ewart"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.colordiff.org/colordiff-$portVersion.tar.gz"
CHECKSUM_SHA256="46e8c14d87f6c4b77a273cdd97020fda88d5b2be42cf015d5d84aca3dfff3b19"
PATCHES="colordiff-$portVersion.patchset"

ARCHITECTURES="any"

GLOBAL_WRITABLE_FILES="
	settings/colordiff/colordiffrc keep-old
	"

PROVIDES="
	colordiff = $portVersion
	cmd:cdiff = $portVersion
	cmd:colordiff = $portVersion
	"
REQUIRES="
	cmd:diff
	cmd:perl
	"

BUILD_PREREQUIRES="
	cmd:make
	"

INSTALL()
{
	make INSTALL_DIR="$prefix/bin" \
	MAN_DIR="${manDir}/man1" \
	ETC_DIR="${sysconfDir}/colordiff" \
	install
}
