1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name commons-el |
---|
6 | version 1.0 |
---|
7 | |
---|
8 | categories java |
---|
9 | maintainers james@jberry.us |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description Jakarta Commons-Expression Language |
---|
13 | long_description Commons-EL provides an interpreter for the Expression Language \ |
---|
14 | which is defined by the JavaServer Pages(TM) specification, \ |
---|
15 | version 2.0. |
---|
16 | homepage http://jakarta.apache.org/commons/el/ |
---|
17 | |
---|
18 | distname ${name}-${version}-src |
---|
19 | master_sites apache:jakarta/commons/el/source/ |
---|
20 | checksums md5 25038283a0b5f638db5e891295d20020 |
---|
21 | |
---|
22 | depends_build bin:ant:apache-ant |
---|
23 | depends_lib bin:java:kaffe \ |
---|
24 | lib:XXX:junit \ |
---|
25 | lib:XXX:tomcat5-api |
---|
26 | |
---|
27 | use_configure no |
---|
28 | |
---|
29 | build.cmd ant |
---|
30 | build.target jar javadoc |
---|
31 | build.args -Djunit.jar=${prefix}/share/java/junit.jar \ |
---|
32 | -Dservlet-api.jar=${prefix}/share/java/servlet-api.jar \ |
---|
33 | -Djsp-api.jar=${prefix}/share/java/jsp-api.jar \ |
---|
34 | -Dservletapi.build.notrequired=true \ |
---|
35 | -Djspapi.build.notrequired=true |
---|
36 | |
---|
37 | pre-build { |
---|
38 | system "touch ${workpath}/LICENSE" |
---|
39 | } |
---|
40 | |
---|
41 | destroot { |
---|
42 | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
---|
43 | ${destroot}${prefix}/share/doc |
---|
44 | xinstall -m 644 \ |
---|
45 | ${worksrcpath}/dist/commons-el.jar \ |
---|
46 | ${destroot}${prefix}/share/java/ |
---|
47 | file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name} |
---|
48 | } |
---|