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

Last change on this file since 20315 was 20315, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 20315 2006-11-01 22:23:03Z blair@macports.org $
2
3PortSystem 1.0
4
5name                            commons-el
6version                         1.0
7revision                        1
8
9categories                      java
10maintainers                     jberry@macports.org
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://jakarta.apache.org/commons/el/
18                               
19distname                        ${name}-${version}-src
20master_sites            apache:jakarta/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}
Note: See TracBrowser for help on using the repository browser.