# $Id: Portfile 29307 2007-09-20 20:17:34Z jberry@macports.org $ PortSystem 1.0 name commons-launcher version 1.1 categories java maintainers jberry@macports.org openmaintainer@macports.org platforms darwin description Jakarta Commons-Launcher long_description The Launcher Component is designed to be a cross platform \ Java application launcher. Commons-launcher eliminates the \ need for a batch or shell script to launch a Java class. \ The original Java classes come from the Jakarta Tomcat 4.0 \ project. homepage http://commons.apache.org/launcher/ distname ${name}-${version}-src master_sites apache:commons/launcher/source/ checksums md5 99082b05bfc6f5ce452d179ee2871ef9 depends_build bin:ant:apache-ant depends_lib bin:java:kaffe \ port:junit worksrcdir ${name} use_configure no build.cmd ant build.target jar javadoc build.args -Djunit.jar=${prefix}/share/java/junit.jar destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java \ ${destroot}${prefix}/share/doc xinstall -m 644 \ ${worksrcpath}/dist/bin/commons-launcher.jar \ ${worksrcpath}/dist/bin/LauncherBootstrap.class \ ${destroot}${prefix}/share/java/ file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name} } livecheck.check regex livecheck.url http://commons.apache.org/downloads/download_launcher.cgi livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"