Commits
Christopher Chavez authored and Perry E. Metzger committed bd3caa36dca
1 - | PortSystem 1.0 |
2 - | |
3 - | name commons-el |
4 - | version 1.0 |
5 - | revision 1 |
6 - | |
7 - | categories java |
8 - | license Apache-1.1 |
9 - | maintainers nomaintainer |
10 - | platforms darwin |
11 - | |
12 - | description Jakarta Commons-Expression Language |
13 - | long_description Commons-EL provides an interpreter for the Expression \ |
14 - | Language which is defined by the JavaServer Pages(TM) \ |
15 - | specification, version 2.0. |
16 - | homepage https://commons.apache.org/el/ |
17 - | |
18 - | distname ${name}-${version}-src |
19 - | master_sites apache:commons/el/source/ |
20 - | checksums md5 25038283a0b5f638db5e891295d20020 |
21 - | |
22 - | depends_build bin:ant:apache-ant |
23 - | depends_lib bin:java:kaffe \ |
24 - | port:junit \ |
25 - | port:servlet24-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/servlet24-api.jar \ |
33 - | -Djsp-api.jar=${prefix}/share/java/jsp2-api.jar \ |
34 - | -Dservletapi.build.notrequired=true \ |
35 - | -Djspapi.build.notrequired=true |
36 - | |
37 - | post-patch { |
38 - | # Force source 1.4 so javac doesn't blow up on variables named enum |
39 - | reinplace {s|<javac |<javac source="1.4" |} ${worksrcpath}/build.xml |
40 - | } |
41 - | |
42 - | pre-build { |
43 - | system "touch ${workpath}/LICENSE" |
44 - | } |
45 - | |
46 - | destroot { |
47 - | xinstall -m 755 -d ${destroot}${prefix}/share/java \ |
48 - | ${destroot}${prefix}/share/doc |
49 - | xinstall -m 644 ${worksrcpath}/dist/commons-el.jar \ |
50 - | ${destroot}${prefix}/share/java/ |
51 - | file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name} |
52 - | } |
53 - | |
54 - | livecheck.type regex |
55 - | livecheck.url https://commons.apache.org/dormant/commons-el/download_el.cgi |
56 - | livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz" |