source: trunk/dports/java/commons-el/Portfile @ 72252

Last change on this file since 72252 was 72252, checked in by jberry@…, 8 years ago

Drop maintainership of my recently ill-maintained java ports. I may still look in on them from time to time, but this feels better than to just ignore thme. Free to a good home.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 72252 2010-10-08 23:20:28Z jberry@macports.org $
2
3PortSystem 1.0
4
5name                            commons-el
6version                         1.0
7revision                        1
8
9categories                      java
10maintainers                     nomaintainer
11platforms                       darwin
12
13description                     Jakarta Commons-Expression Language
14long_description        Commons-EL provides an interpreter for the Expression \
15                                        Language which is  defined by the JavaServer Pages(TM) \
16                                        specification, version 2.0.
17homepage                        http://commons.apache.org/el/
18                               
19distname                        ${name}-${version}-src
20master_sites            apache:commons/el/source/
21checksums                       md5 25038283a0b5f638db5e891295d20020
22
23depends_build           bin:ant:apache-ant
24depends_lib                     bin:java:kaffe \
25                                        port:junit \
26                                        port:servlet24-api
27
28use_configure           no
29
30build.cmd                       ant
31build.target            jar javadoc
32build.args                      -Djunit.jar=${prefix}/share/java/junit.jar \
33                                        -Dservlet-api.jar=${prefix}/share/java/servlet24-api.jar \
34                                        -Djsp-api.jar=${prefix}/share/java/jsp2-api.jar \
35                                        -Dservletapi.build.notrequired=true \
36                                        -Djspapi.build.notrequired=true
37
38post-patch {
39        # Force source 1.4 so javac doesn't blow up on variables named enum
40        reinplace {s|<javac |<javac source="1.4" |} ${worksrcpath}/build.xml
41}
42
43pre-build {
44        system "touch ${workpath}/LICENSE"
45}
46
47destroot {
48        xinstall -m 755 -d ${destroot}${prefix}/share/java \
49                ${destroot}${prefix}/share/doc
50        xinstall -m 644 ${worksrcpath}/dist/commons-el.jar \
51                ${destroot}${prefix}/share/java/
52        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
53}
54
55livecheck.type  regex
56livecheck.url   http://commons.apache.org/downloads/download_el.cgi
57livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.