1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name commons-fileupload |
---|
6 | version 1.0 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Jakarta Commons-FileUpload |
---|
13 | long_description FileUpload makes it easy to add robust, high-performance, file \ |
---|
14 | upload capability to your servlets and web applications. |
---|
15 | homepage http://jakarta.apache.org/commons/fileupload/ |
---|
16 | |
---|
17 | distname ${name}-${version}-src |
---|
18 | master_sites apache:jakarta/commons/fileupload/source/ |
---|
19 | checksums md5 c6fa0cc10e18cffa8c479c6cb61914b8 |
---|
20 | |
---|
21 | depends_build bin:ant:apache-ant |
---|
22 | depends_lib bin:java:kaffe \ |
---|
23 | lib:XXX:junit \ |
---|
24 | lib:XXX:servlet23-api |
---|
25 | |
---|
26 | use_configure no |
---|
27 | |
---|
28 | worksrcdir ${name}-${version} |
---|
29 | |
---|
30 | post-extract { |
---|
31 | file mkdir ${worksrcpath}/target/lib |
---|
32 | file link ${worksrcpath}/target/lib/servletapi-2.3.jar ${prefix}/share/java/servlet23-api.jar |
---|
33 | } |
---|
34 | |
---|
35 | build.cmd ant |
---|
36 | build.target dist |
---|
37 | build.args -Dfinal.name=${name} \ |
---|
38 | -Dnoget=true |
---|
39 | |
---|
40 | destroot { |
---|
41 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
42 | ${destroot}${prefix}/share/doc |
---|
43 | xinstall -m 644 \ |
---|
44 | ${worksrcpath}/dist/commons-fileupload.jar \ |
---|
45 | ${destroot}${prefix}/share/java/ |
---|
46 | file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name} |
---|
47 | } |
---|