# $Id: Portfile,v 1.2 2005/04/04 03:25:49 toby Exp $

PortSystem 1.0

name			fastjar
version			0.93
categories		archivers java
platforms		darwin
maintainers		mww@opendarwin.org
description		fast implementation of Sun's jar utility in C
long_description	Fastjar is an implementation of Sun's jar utility that \
					comes with the JDK, written entirely in C, and runs in a \
					fraction of the time while being 100% feature compatible.

homepage		http://fastjar.sourceforge.net/
master_sites	sourceforge
extract.suffix	.tgz
checksums		md5 a8159d2042bce9998020f197fee39ef1

patchfiles		patch-jargrep.c

build.args		AUTOCONF=true AUTOMAKE=true
destroot.args	${build.args}

post-destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGES COPYING ChangeLog \
		INSTALL LICENSE NEWS README ${destroot}${prefix}/share/doc/${name}
}
