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

Last change on this file since 29307 was 29307, checked in by jberry@…, 13 years ago

Update ex- jakarta-commons projects to reflect their new home as a top-level
commons.apache.org project. Changes in this checkin are to home page, master_sites,
and livecheck only. There are no other substantive changes (such as versions upgrades)
in this checkin.

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