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

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

Add openmaintainer to my ports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 24558 2007-04-28 04:00:37Z 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://jakarta.apache.org/commons/launcher/
19                               
20distname                        ${name}-${version}-src
21master_sites            apache:jakarta/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://jakarta.apache.org/site/downloads/downloads_${name}.cgi
48livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
Note: See TracBrowser for help on using the repository browser.