1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name commons-pool |
---|
6 | version 1.2 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Jakarta Commons-Pool |
---|
13 | long_description Commons-Pool provides a generic object pooling interface, a toolkit \ |
---|
14 | for creating modular object pools and several general purpose pool \ |
---|
15 | implementations. |
---|
16 | homepage http://jakarta.apache.org/commons/pool/ |
---|
17 | |
---|
18 | distname ${name}-${version}-src |
---|
19 | master_sites apache:jakarta/commons/pool/source/ |
---|
20 | checksums md5 e7dc9f479c6a4260f84f6751b434295a |
---|
21 | |
---|
22 | depends_build bin:ant:apache-ant |
---|
23 | depends_lib bin:java:kaffe \ |
---|
24 | lib:XXX:junit \ |
---|
25 | lib:XXX:commons-collections |
---|
26 | |
---|
27 | use_configure no |
---|
28 | |
---|
29 | worksrcdir ${name}-${version} |
---|
30 | |
---|
31 | build.cmd ant |
---|
32 | build.target dist |
---|
33 | build.args -Djunit.jar=${prefix}/share/java/junit.jar \ |
---|
34 | -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar |
---|
35 | |
---|
36 | destroot { |
---|
37 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
38 | ${destroot}${prefix}/share/doc |
---|
39 | xinstall -m 644 \ |
---|
40 | ${worksrcpath}/dist/commons-pool.jar \ |
---|
41 | ${destroot}${prefix}/share/java/ |
---|
42 | file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name} |
---|
43 | system "chmod -R 755 ${destroot}${prefix}/share/doc/${name}" |
---|
44 | } |
---|