source: trunk/dports/java/commons-launcher/Portfile

Last change on this file was 92041, checked in by jmr@…, 5 years ago

commons-launcher: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 92041 2012-04-16 18:59:51Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                            commons-launcher
6version                         1.1
7
8categories                      java
9license                         Apache-2
10maintainers                     nomaintainer
11platforms                       darwin
12
13description                     Jakarta Commons-Launcher
14long_description        The Launcher Component is designed to be a cross platform \
15                                        Java application launcher. Commons-launcher eliminates the \
16                                        need for a batch or shell script to launch a Java class. \
17                                        The original Java classes come from the Jakarta Tomcat 4.0 \
18                                        project.
19homepage                        http://commons.apache.org/launcher/
20                               
21distname                        ${name}-${version}-src
22master_sites            apache:commons/launcher/source/
23checksums                       md5 99082b05bfc6f5ce452d179ee2871ef9
24
25depends_build           bin:ant:apache-ant
26depends_lib                     bin:java:kaffe \
27                                        port:junit
28
29worksrcdir                      ${name}
30
31use_configure           no
32
33build.cmd                       ant
34build.target            jar javadoc
35build.args                      -Djunit.jar=${prefix}/share/java/junit.jar
36
37destroot        {
38        xinstall -m 755 -d ${destroot}${prefix}/share/java \
39                ${destroot}${prefix}/share/doc
40        xinstall -m 644 \
41                ${worksrcpath}/dist/bin/commons-launcher.jar \
42                ${worksrcpath}/dist/bin/LauncherBootstrap.class \
43                ${destroot}${prefix}/share/java/
44        file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
45}
46
47livecheck.type  regex
48livecheck.url   http://commons.apache.org/downloads/download_launcher.cgi
49livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.