1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name jakarta-regexp |
---|
6 | version 1.3 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Jakarta Regular Expressions Parser. |
---|
13 | long_description Jakarta Regexp is a 100% Pure Java Regular Expression package. |
---|
14 | homepage http://jakarta.apache.org/regexp/ |
---|
15 | |
---|
16 | master_sites apache:jakarta/regexp/binaries |
---|
17 | checksums md5 4322f82bea908ca4a7db270f7fa4850d |
---|
18 | |
---|
19 | depends_build bin:ant:apache-ant |
---|
20 | depends_lib bin:java:kaffe |
---|
21 | |
---|
22 | post-extract { |
---|
23 | file mkdir ${workpath}/jakarta-site2/lib |
---|
24 | file delete ${worksrcpath}/${distname}.jar |
---|
25 | } |
---|
26 | |
---|
27 | use_configure no |
---|
28 | |
---|
29 | build.cmd ant |
---|
30 | build.target package |
---|
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}/build/${name}.jar \ |
---|
38 | ${destroot}${prefix}/share/java/ |
---|
39 | file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name} |
---|
40 | |
---|
41 | } |
---|