source: trunk/dports/java/commons-cli/Portfile @ 103202

Last change on this file since 103202 was 103202, checked in by ciserlohn@…, 7 years ago

commons-cli: use java PortGroup (should set JAVA_HOME correctly; see #38106)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[20315]1# $Id: Portfile 103202 2013-02-18 12:28:00Z ciserlohn@macports.org $
[18600]2
3PortSystem 1.0
[103202]4PortGroup java 1.0
[18600]5
6name                            commons-cli
[29308]7version                         1.1
[18600]8revision                        1
9
10categories                      java
[97112]11license                         Apache-2
[72252]12maintainers                     nomaintainer
[18600]13platforms                       darwin
[97112]14supported_archs         noarch
[18600]15
16description                     Jakarta Commons-CLI
17long_description        The Jakarta Commons CLI library provides an API for \
18                                        processing command line interfaces. It was formed by \
19                                        the merger of ideas and code from three different \
[97112]20                                        libraries - Werken, Avalon and Optz.
[29307]21homepage                        http://commons.apache.org/cli/
[18600]22                               
[29308]23distname                        ${name}-${version}-src
[29307]24master_sites            apache:commons/cli/source/
[29308]25checksums                       md5 ccc1aa194132e2387557bbb7f65391f4
[18600]26
[34236]27depends_build           port:apache-ant
[18600]28
29depends_lib                     bin:java:kaffe \
30                                        port:commons-logging \
31                                        port:commons-lang \
32                                        port:junit
33
34use_configure           no
35
36build.env                       CLASSPATH=${prefix}/share/java/commons-logging.jar:${prefix}/share/java/commons-lang.jar:${prefix}/share/java/junit.jar
37build.cmd                       ant
38build.target        dist
39build.args          -Dfinal.name=${name} -Djunit.jar=${prefix}/share/java/junit.jar
40
41destroot        {
42        xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
43        xinstall -m 644 ${worksrcpath}/dist/${name}.jar ${destroot}${prefix}/share/java/
44        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
45}
[24384]46
[57375]47livecheck.type  regex
[29307]48livecheck.url   http://commons.apache.org/downloads/download_cli.cgi
[24384]49livecheck.regex "cli-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.