# $Id: Portfile 111998 2013-10-09 02:21:13Z jmr@macports.org $ PortSystem 1.0 name jump version 0.5 revision 1 categories java math license BSD platforms darwin supported_archs noarch 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 \ http://jump-math.cvs.sourceforge.net/viewvc/jump-math/jump/COPYRIGHT?pathrev=RELEASE_[string map {. _} $version]&file=:copyright \ http://jump-math.cvs.sourceforge.net/viewvc/jump-math/jump/README?pathrev=RELEASE_[string map {. _} $version]&file=:readme distfiles-append README-${version}:readme COPYRIGHT-${version}:copyright checksums ${distname}${extract.suffix} \ md5 1360e9bd6c017f754591735f0144a9a0 \ sha1 5a0468d2be8eb97e01b7cf1aecde174e877a9b1e \ README-${version} \ rmd160 af05e370db696bef7b54205c8acb018c58ae6268 \ COPYRIGHT-${version} \ rmd160 61b317a610469ed539357abdf76f7a94fc655500 depends_build bin:ant:apache-ant depends_lib bin:java:kaffe extract.only ${distname}${extract.suffix} post-extract { copy ${distpath}/README-${version} ${worksrcpath}/README copy ${distpath}/COPYRIGHT-${version} ${worksrcpath}/COPYRIGHT } 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} xinstall -W ${worksrcpath} -m 644 README COPYRIGHT ${destroot}${prefix}/share/doc/${name} }