1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name commons-dbcp |
---|
6 | version 1.2.1 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Jakarta Commons-DBCP |
---|
13 | long_description Commons-DBCP provides database connection pooling services. |
---|
14 | homepage http://jakarta.apache.org/commons/dbcp/ |
---|
15 | |
---|
16 | distname ${name}-${version}-src |
---|
17 | master_sites apache:jakarta/commons/dbcp/source/ |
---|
18 | checksums md5 b7336a1d34ea0e8e9c39b67af510c46d |
---|
19 | |
---|
20 | depends_build bin:ant:apache-ant |
---|
21 | depends_lib bin:java:kaffe \ |
---|
22 | lib:XXX:junit \ |
---|
23 | lib:XXX:commons-collections \ |
---|
24 | lib:XXX:commons-pool |
---|
25 | |
---|
26 | use_configure no |
---|
27 | |
---|
28 | worksrcdir ${name}-${version} |
---|
29 | |
---|
30 | build.cmd ant |
---|
31 | build.target dist |
---|
32 | build.args -Djunit.jar=${prefix}/share/java/junit.jar \ |
---|
33 | -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar \ |
---|
34 | -Dcommons-pool.jar=${prefix}/share/java/commons-pool.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-dbcp.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 | } |
---|