# $Id: Portfile,v 1.4 2006/02/21 08:53:16 mww Exp $

PortSystem 1.0

name			tkdiff
version			4.1.3
categories		x11 devel
platforms		darwin
maintainers		mww@opendarwin.org
description		graphical front end to the diff program
long_description	tkdiff is a graphical front end to the diff program. It \
				provides a side-by-side view of the differences between two \
				files, along with several innovative features such as diff \
				bookmarks and a graphical map of differences for quick \
				navigation.

homepage		http://tkdiff.sourceforge.net/
master_sites	sourceforge
distname		${distname}-unix
checksums		sha1 5d5bb97c8404d73e41232930bc25728b680f6388

depends_run		port:tk

configure {
	reinplace "s|exec wish|exec ${prefix}/bin/wish|g" ${worksrcpath}/tkdiff
}

build	{}

destroot {
	xinstall -m 755 ${worksrcpath}/tkdiff ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
	xinstall -m 644 -W ${worksrcpath} COPYING Changelog \
		${destroot}${prefix}/share/doc/${name}/
}

