source: trunk/dports/java/commons-cli/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.3 KB
Line 
1# $Id: Portfile 20315 2006-11-01 22:23:03Z blair@macports.org $
2
3PortSystem 1.0
4
5name                            commons-cli
6version                         1.0
7revision                        1
8
9categories                      java
10maintainers                     jberry@macports.org
11platforms                       darwin
12
13description                     Jakarta Commons-CLI
14long_description        The Jakarta Commons CLI library provides an API for \
15                                        processing command line interfaces. It was formed by \
16                                        the merger of ideas and code from three different \
17                                        libraries - Werken, Avalon and Optz.
18homepage                        http://jakarta.apache.org/commons/cli/
19                               
20distname                        cli-${version}-src
21master_sites            apache:jakarta/commons/cli/source/
22checksums                       md5 ba34d585046b1f17dacbb13b377f4255
23
24depends_build           port:ant
25
26depends_lib                     bin:java:kaffe \
27                                        port:commons-logging \
28                                        port:commons-lang \
29                                        port:junit
30
31use_configure           no
32
33worksrcdir                      ${name}-${version}
34
35build.env                       CLASSPATH=${prefix}/share/java/commons-logging.jar:${prefix}/share/java/commons-lang.jar:${prefix}/share/java/junit.jar
36build.cmd                       ant
37build.target        dist
38build.args          -Dfinal.name=${name} -Djunit.jar=${prefix}/share/java/junit.jar
39
40destroot        {
41        xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
42        xinstall -m 644 ${worksrcpath}/dist/${name}.jar ${destroot}${prefix}/share/java/
43        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
44}
Note: See TracBrowser for help on using the repository browser.