[130425] trunk/dports/java
nicos at macports.org
nicos at macports.org
Tue Dec 30 00:41:33 PST 2014
Revision: 130425
https://trac.macports.org/changeset/130425
Author: nicos at macports.org
Date: 2014-12-30 00:41:33 -0800 (Tue, 30 Dec 2014)
Log Message:
-----------
appbundler: new port
Added Paths:
-----------
trunk/dports/java/appbundler/
trunk/dports/java/appbundler/Portfile
trunk/dports/java/appbundler/files/
trunk/dports/java/appbundler/files/patch-build.xml.diff
Added: trunk/dports/java/appbundler/Portfile
===================================================================
--- trunk/dports/java/appbundler/Portfile (rev 0)
+++ trunk/dports/java/appbundler/Portfile 2014-12-30 08:41:33 UTC (rev 130425)
@@ -0,0 +1,46 @@
+# -*- 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
Property changes on: trunk/dports/java/appbundler/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/java/appbundler/files/patch-build.xml.diff
===================================================================
--- trunk/dports/java/appbundler/files/patch-build.xml.diff (rev 0)
+++ trunk/dports/java/appbundler/files/patch-build.xml.diff 2014-12-30 08:41:33 UTC (rev 130425)
@@ -0,0 +1,11 @@
+--- build.xml.orig 2012-08-28 21:51:15.000000000 +0900
++++ build.xml 2014-12-29 10:59:40.000000000 +0900
+@@ -73,7 +73,7 @@
+ <arg value="-arch"/>
+ <arg value="x86_64"/>
+ <arg value="-isysroot"/>
+- <arg value="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"/>
++ <arg value="@SYSROOT@"/>
+ <arg value="-mmacosx-version-min=10.7"/>
+ <arg value="appbundler/native/main.m"/>
+ </exec>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141230/94eb8f1f/attachment.html>
More information about the macports-changes
mailing list