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

Last change on this file since 91571 was 72252, checked in by jberry@…, 9 years ago

Drop maintainership of my recently ill-maintained java ports. I may still look in on them from time to time, but this feels better than to just ignore thme. Free to a good home.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 72252 2010-10-08 23:20:28Z jberry@macports.org $
2
3PortSystem 1.0
4
5name                            commons-launcher
6version                         1.1
7
8categories                      java
9maintainers                     nomaintainer
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.type  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.