1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name commons-httpclient |
---|
6 | version 2.0.1 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Jakarta Commons-HttpClient |
---|
13 | long_description Commons-HttpClient provides a framework for working with the \ |
---|
14 | client-side of the HTTP protocol. |
---|
15 | homepage http://jakarta.apache.org/commons/httpclient/ |
---|
16 | |
---|
17 | distname ${name}-${version}-src |
---|
18 | master_sites apache:jakarta/commons/httpclient/source/ |
---|
19 | checksums md5 b74f527e2eee22f1212cf2689b7a3761 |
---|
20 | |
---|
21 | depends_build bin:ant:apache-ant |
---|
22 | depends_lib bin:java:kaffe \ |
---|
23 | lib:XXX:junit \ |
---|
24 | lib:XXX:commons-logging |
---|
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-logging.jar=${prefix}/share/java/commons-logging.jar |
---|
34 | |
---|
35 | post-extract { |
---|
36 | file mkdir ${worksrcpath}/lib |
---|
37 | } |
---|
38 | |
---|
39 | destroot { |
---|
40 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
41 | ${destroot}${prefix}/share/doc |
---|
42 | xinstall -m 644 \ |
---|
43 | ${worksrcpath}/dist/commons-httpclient.jar \ |
---|
44 | ${destroot}${prefix}/share/java/ |
---|
45 | file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name} |
---|
46 | } |
---|