source: trunk/dports/java/commons-codec/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.3 KB
Line 
1# $Id: Portfile 72252 2010-10-08 23:20:28Z jberry@macports.org $
2
3PortSystem 1.0
4
5name                            commons-codec
6version                         1.4
7
8categories                      java
9maintainers                     nomaintainer
10platforms                       darwin
11
12description                     Jakarta Commons-Codec
13long_description        Commons Codec provides implementations of common encoders and \
14                                        decoders such as Base64, Hex, various phonetic encodings, and URLs.
15homepage                        http://commons.apache.org/codec/
16                               
17distname                        ${name}-${version}-src
18master_sites            apache:commons/codec/source/
19
20checksums           md5     6d96f8134e12cdab105d4934b90cb993 \
21                    sha1    61edf10e2a95bdef49d04fdbb97783be8e2b114a \
22                    rmd160  b00969ab4bf8004d87e97b91072f4379590e62ea
23
24depends_build           bin:ant:apache-ant
25depends_lib                     bin:java:kaffe \
26                                        port:junit
27
28use_configure           no
29
30build.cmd                       ant
31build.target            dist
32build.args                      -Dfinal.name=${name} \
33                                        -Djunit.jar=${prefix}/share/java/junit.jar
34
35destroot        {
36        xinstall -m 755 -d ${destroot}${prefix}/share/java \
37                ${destroot}${prefix}/share/doc
38        xinstall -m 644 \
39                ${worksrcpath}/dist/${name}.jar \
40                ${destroot}${prefix}/share/java/
41        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
42}
43
44livecheck.type  regex
45livecheck.url   http://commons.apache.org/downloads/download_codec.cgi
46livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.