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

Last change on this file since 72252 was 72252, checked in by jberry@…, 10 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.8 KB
Line 
1# $Id: Portfile 72252 2010-10-08 23:20:28Z jberry@macports.org $
2
3PortSystem 1.0
4
5name                            commons-digester
6version                         2.0
7
8categories                      java
9maintainers                     nomaintainer
10platforms                       darwin
11
12description                     Jakarta Commons-Digester
13long_description        Commons-Digester is an XML-to-Java-object mapping utility \
14                                        commonly used for parsing XML configuration files.
15homepage                        http://commons.apache.org/digester/
16                               
17distname                        ${name}-${version}-src
18master_sites            apache:commons/digester/source/
19
20checksums           md5     75b3e880807844aba1695984587f97f3 \
21                    sha1    6d6c978f00e7e12d24b5bb4548f66b7d2fad32f8 \
22                    rmd160  08fdd7adf26303f8325c5afd4b6a54cb1776f07f
23
24depends_build           bin:ant:apache-ant
25depends_lib                     bin:java:kaffe \
26                                        port:junit \
27                                        port:commons-beanutils \
28                                        port:commons-collections \
29                                        port:commons-logging
30
31use_configure           no
32
33build.cmd                       ant
34build.target            dist
35build.args                      -Djunit.jar=${prefix}/share/java/junit.jar \
36                                        -Dcommons-beanutils.jar=${prefix}/share/java/commons-beanutils.jar \
37                                        -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar \
38                                        -Dcommons-logging.jar=${prefix}/share/java/commons-logging.jar
39                                       
40post-build {
41        # Secondary ant build to build the digester rss jar
42        system "cd ${worksrcpath}/src/examples/rss && ant ${build.args} \
43                -Ddigester.home=${worksrcpath} dist"
44}
45
46destroot        {
47        xinstall -m 755 -d ${destroot}${prefix}/share/java \
48                ${destroot}${prefix}/share/doc
49        xinstall -m 644 ${worksrcpath}/dist/commons-digester.jar \
50                ${worksrcpath}/src/examples/rss/dist/commons-digester-rss.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_digester.cgi
57livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.