[111998] trunk/dports/java/jump/Portfile
jmr at macports.org
jmr at macports.org
Tue Oct 8 19:21:13 PDT 2013
Revision: 111998
https://trac.macports.org/changeset/111998
Author: jmr at macports.org
Date: 2013-10-08 19:21:13 -0700 (Tue, 08 Oct 2013)
Log Message:
-----------
jump: set license, mark noarch, download and install license info (not included in the release tarball) as required by the BSD license
Modified Paths:
--------------
trunk/dports/java/jump/Portfile
Modified: trunk/dports/java/jump/Portfile
===================================================================
--- trunk/dports/java/jump/Portfile 2013-10-09 01:30:41 UTC (rev 111997)
+++ trunk/dports/java/jump/Portfile 2013-10-09 02:21:13 UTC (rev 111998)
@@ -4,8 +4,11 @@
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. \
@@ -14,12 +17,27 @@
numbers and BigDecimals.
homepage http://jump-math.sourceforge.net/
-master_sites sourceforge:jump-math
-checksums md5 1360e9bd6c017f754591735f0144a9a0
+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
@@ -32,4 +50,5 @@
${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}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131008/eee85986/attachment-0001.html>
More information about the macports-changes
mailing list