source: trunk/dports/java/jump/Portfile

Last change on this file was 111998, checked in by jmr@…, 4 years ago

jump: set license, mark noarch, download and install license info (not included in the release tarball) as required by the BSD license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 111998 2013-10-09 02:21:13Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    jump
6version                 0.5
7revision                1
8categories              java math
9license                 BSD
10platforms               darwin
11supported_archs noarch
12maintainers             nomaintainer
13description             high-precision math package for Java
14long_description        Java-based extensible high-precision math package. \
15                                        Includes support for computations based on fractions. \
16                                        Support is included for converting to floating point \
17                                        numbers and BigDecimals.
18
19homepage                http://jump-math.sourceforge.net/
20master_sites    sourceforge:jump-math \
21                        http://jump-math.cvs.sourceforge.net/viewvc/jump-math/jump/COPYRIGHT?pathrev=RELEASE_[string map {. _} $version]&file=:copyright \
22                        http://jump-math.cvs.sourceforge.net/viewvc/jump-math/jump/README?pathrev=RELEASE_[string map {. _} $version]&file=:readme
23distfiles-append        README-${version}:readme COPYRIGHT-${version}:copyright
24checksums               ${distname}${extract.suffix} \
25                                md5 1360e9bd6c017f754591735f0144a9a0 \
26                                sha1 5a0468d2be8eb97e01b7cf1aecde174e877a9b1e \
27                        README-${version} \
28                                rmd160 af05e370db696bef7b54205c8acb018c58ae6268 \
29                        COPYRIGHT-${version} \
30                                rmd160 61b317a610469ed539357abdf76f7a94fc655500
31
32depends_build   bin:ant:apache-ant
33depends_lib             bin:java:kaffe
34
35extract.only    ${distname}${extract.suffix}
36post-extract {
37        copy ${distpath}/README-${version} ${worksrcpath}/README
38        copy ${distpath}/COPYRIGHT-${version} ${worksrcpath}/COPYRIGHT
39}
40
41use_configure   no
42
43build.cmd               ant
44build.target    jar apidocs
45
46destroot        {
47        xinstall -m 755 -d ${destroot}${prefix}/share/java \
48                ${destroot}${prefix}/share/doc/
49        xinstall -m 644 ${worksrcpath}/build/jump.jar \
50                ${destroot}${prefix}/share/java/
51        file copy ${worksrcpath}/build/apidocs \
52                ${destroot}${prefix}/share/doc/${name}
53        xinstall -W ${worksrcpath} -m 644 README COPYRIGHT ${destroot}${prefix}/share/doc/${name}
54}
Note: See TracBrowser for help on using the repository browser.