Changeset 111998


Ignore:
Timestamp:
Oct 9, 2013, 2:21:13 AM (6 years ago)
Author:
jmr@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/jump/Portfile

    r30233 r111998  
    55name                    jump
    66version                 0.5
     7revision                1
    78categories              java math
     9license                 BSD
    810platforms               darwin
     11supported_archs noarch
    912maintainers             nomaintainer
    1013description             high-precision math package for Java
     
    1518
    1619homepage                http://jump-math.sourceforge.net/
    17 master_sites    sourceforge:jump-math
    18 checksums               md5 1360e9bd6c017f754591735f0144a9a0
     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
    1931
    2032depends_build   bin:ant:apache-ant
    2133depends_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}
    2240
    2341use_configure   no
     
    3351        file copy ${worksrcpath}/build/apidocs \
    3452                ${destroot}${prefix}/share/doc/${name}
     53        xinstall -W ${worksrcpath} -m 644 README COPYRIGHT ${destroot}${prefix}/share/doc/${name}
    3554}
Note: See TracChangeset for help on using the changeset viewer.