# $Id: Portfile,v 1.1 2004/09/01 17:47:31 mww Exp $

PortSystem 1.0

name			trove4j
version			1.0.2
categories		java
platforms		darwin
maintainers		mww@opendarwin.org
description		high performance collections for Java objects and primitive types
long_description	${description}

homepage		http://trove4j.sourceforge.net/
master_sites	sourceforge
distname		trove-${version}
checksums		md5 a246a09db112b7986b02c2a9f771bae0

worksrcdir		${worksrcdir}/src

post-extract	{
	file copy ${filespath}/Makefile ${worksrcpath}
}

use_configure	no

destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/share/java \
		${destroot}${prefix}/share/share/doc
	xinstall -m 644 ${worksrcpath}/trove4j.jar \
		${destroot}${prefix}/share/java
	file copy ${worksrcpath}/../javadocs \
		${destroot}${prefix}/share/share/doc/${name}
}
