# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup java 1.0 name appbundler version 1.0 categories java platforms darwin license GPL-2+ maintainers nicos openmaintainer description Packages a Java application as a Mac app bundle. long_description ${description} Oracle's Java Application Bundler is compatible \ with Java 7 or 8. homepage https://java.net/projects/appbundler fetch.type svn svn.url https://svn.java.net/svn/appbundler~svn svn.revision 34 worksrcdir ${name}~svn patchfiles patch-build.xml.diff depends_build port:apache-ant use_configure no build.cmd ant build.target compile package destroot.target pre-configure { reinplace "s|@SYSROOT@|${configure.sdkroot}|g" ${worksrcpath}/build.xml } destroot { xinstall -d 0755 ${destroot}${prefix}/share/java file copy ${worksrcpath}/appbundler/bin/appbundler-1.0.jar \ ${destroot}${prefix}/share/java/appbundler-1.0.jar } livecheck.type none