source: trunk/dports/java/commons-codec/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.1 KB
Line 
1# $Id: Portfile 20315 2006-11-01 22:23:03Z blair@macports.org $
2
3PortSystem 1.0
4
5name                            commons-codec
6version                         1.3
7revision                        1
8
9categories                      java
10maintainers                     jberry@macports.org
11platforms                       darwin
12
13description                     Jakarta Commons-Codec
14long_description        Commons Codec provides implementations of common encoders and \
15                                        decoders such as Base64, Hex, various phonetic encodings, and URLs.
16homepage                        http://jakarta.apache.org/commons/codec/
17                               
18distname                        ${name}-${version}-src
19master_sites            apache:jakarta/commons/codec/source/
20checksums                       md5 af3c3acf618de6108d65fcdc92b492e1
21
22depends_build           bin:ant:apache-ant
23depends_lib                     bin:java:kaffe \
24                                        port:junit
25
26use_configure           no
27
28worksrcdir                      ${name}-${version}
29
30build.cmd                       ant
31build.target            dist
32build.args                      -Dfinal.name=${name} \
33                                        -Djunit.jar=${prefix}/share/java/junit.jar
34
35post-extract    {
36        # The license file is not supplied with the source...
37        system "touch ${workpath}/LICENSE"
38}
39
40destroot        {
41        xinstall -m 755 -d ${destroot}${prefix}/share/java \
42                ${destroot}${prefix}/share/doc
43        xinstall -m 644 \
44                ${worksrcpath}/dist/${name}.jar \
45                ${destroot}${prefix}/share/java/
46        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
47}
Note: See TracBrowser for help on using the repository browser.