# $Id: Portfile 30233 2007-10-22 23:09:00Z jmpp@macports.org $

PortSystem 1.0

name			jump
version			0.5
categories		java math
platforms		darwin
maintainers		nomaintainer
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}
}
