# $Id: Portfile,v 1.1 2004/09/01 17:49:20 mww Exp $

PortSystem 1.0

name			jump
version			0.5
categories		java math
platforms		darwin
maintainers		mww@opendarwin.org
description		high-precision math package for Java
long_description	Java-based extensible high-precision math package. \
					Includes support for computations based on fractions. \
					Support is included for converting to floating point \
					numbers and BigDecimals.

homepage		http://jump-math.sourceforge.net/
master_sites	sourceforge:jump-math
checksums		md5 1360e9bd6c017f754591735f0144a9a0

depends_build	bin:ant:apache-ant
depends_lib		bin:java:kaffe

use_configure	no

build.cmd		ant
build.target	jar apidocs

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