1 | # $Id: Portfile,v 1.1 2004/02/16 14:53:07 olegb Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name commons-collections |
---|
6 | version 3.1 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Jakarta Commons-Collections |
---|
13 | long_description Commons-Collections provides a suite of classes that extend or augment \ |
---|
14 | the Java Collections Framework. |
---|
15 | homepage http://jakarta.apache.org/commons/collections/ |
---|
16 | |
---|
17 | distfiles ${distname}-src${extract.suffix} |
---|
18 | master_sites apache:jakarta/commons/collections/source/ |
---|
19 | checksums md5 2da710d9c81ae85ee3a386e7ed1b1fe8 |
---|
20 | |
---|
21 | depends_build bin:ant:apache-ant |
---|
22 | depends_lib bin:java:kaffe \ |
---|
23 | lib:XXX:junit |
---|
24 | |
---|
25 | use_configure no |
---|
26 | |
---|
27 | build.cmd ant |
---|
28 | build.target jar javadoc |
---|
29 | build.args -Djar.name=${name}.jar \ |
---|
30 | -Djunit.jar=${prefix}/share/java/junit.jar |
---|
31 | |
---|
32 | destroot { |
---|
33 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
34 | ${destroot}${prefix}/share/doc |
---|
35 | xinstall -m 644 \ |
---|
36 | ${worksrcpath}/build/commons-collections.jar \ |
---|
37 | ${destroot}${prefix}/share/java/ |
---|
38 | file copy ${worksrcpath}/build/docs ${destroot}${prefix}/share/doc/${name} |
---|
39 | system "chmod -R 755 ${destroot}${prefix}/share/doc/${name}" |
---|
40 | } |
---|