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 | |
---|
25 | use_configure no |
---|
26 | |
---|
27 | worksrcdir ${name}-${version} |
---|
28 | |
---|
29 | build.cmd ant |
---|
30 | build.target dist |
---|
31 | build.args -Dfinal.name=${name} |
---|
32 | |
---|
33 | destroot { |
---|
34 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
35 | ${destroot}${prefix}/share/doc |
---|
36 | xinstall -m 644 \ |
---|
37 | ${worksrcpath}/dist/commons-fileupload.jar \ |
---|
38 | ${destroot}${prefix}/share/java/ |
---|
39 | file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name} |
---|
40 | } |
---|