# $Id: Portfile,v 1.1 2004/05/17 07:12:11 pguyot Exp $

PortSystem			1.0
name				ftjam
version				2.3.5
categories			devel
maintainers			pguyot@kallisys.net
description			a software build tool like make
long_description	FTJam is an improvement built upon Perforce Jam (or Classic Jam). \
					It is backward compatible with Perforce Jam 2.3. \
					Please note that FTJam port conflicts with Perforce Jam port \
					because they both want to install jam into ${prefix}/bin
homepage			http://freetype.sourceforge.net/jam/
master_sites		sourceforge:freetype
checksums			md5 76c1c83154c4254000030bb86da62946
# Untested but should probably work on FreeBSD/Linux.
platform			darwin freebsd linux

use_configure		no

destroot {
	system "install -m 755 ${worksrcpath}/bin.*/jam ${destroot}${prefix}/bin/"
	system "install -m 755 ${worksrcpath}/bin.*/mkjambase ${destroot}${prefix}/bin/"
	xinstall -d -m 755 ${destroot}/${prefix}/share/doc/${name}/
	xinstall -m 644 ${worksrcpath}/Jam.html ${destroot}/${prefix}/share/doc/${name}/
	xinstall -m 644 ${worksrcpath}/Jambase.html ${destroot}/${prefix}/share/doc/${name}/
	xinstall -m 644 ${worksrcpath}/Jamfile.html ${destroot}/${prefix}/share/doc/${name}/
}
