[96266] trunk/dports/java

jberry at macports.org jberry at macports.org
Mon Aug 6 12:52:55 PDT 2012


Revision: 96266
          https://trac.macports.org/changeset/96266
Author:   jberry at macports.org
Date:     2012-08-06 12:52:55 -0700 (Mon, 06 Aug 2012)
Log Message:
-----------
Use the new java portgroup to set the java JAVA_HOME, as the symlink at /System/Library/Frameworks/JavaVM.framework/Home no longer exists on Mountain Lion. We discover JAVA_HOME via /usr/libexec/java_home if it exists.

Modified Paths:
--------------
    trunk/dports/java/commons-beanutils/Portfile
    trunk/dports/java/commons-codec/Portfile
    trunk/dports/java/commons-collections/Portfile
    trunk/dports/java/commons-dbcp/Portfile
    trunk/dports/java/commons-digester/Portfile
    trunk/dports/java/commons-fileupload/Portfile
    trunk/dports/java/commons-logging/Portfile
    trunk/dports/java/commons-modeler/Portfile
    trunk/dports/java/commons-pool/Portfile
    trunk/dports/java/junit/Portfile
    trunk/dports/java/servlet23-api/Portfile
    trunk/dports/java/servlet24-api/Portfile

Modified: trunk/dports/java/commons-beanutils/Portfile
===================================================================
--- trunk/dports/java/commons-beanutils/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/commons-beanutils/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name				commons-beanutils
 version				1.8.2

Modified: trunk/dports/java/commons-codec/Portfile
===================================================================
--- trunk/dports/java/commons-codec/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/commons-codec/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name				commons-codec
 version				1.4

Modified: trunk/dports/java/commons-collections/Portfile
===================================================================
--- trunk/dports/java/commons-collections/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/commons-collections/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name			commons-collections
 version			3.2.1

Modified: trunk/dports/java/commons-dbcp/Portfile
===================================================================
--- trunk/dports/java/commons-dbcp/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/commons-dbcp/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name				commons-dbcp
 version				1.2.2

Modified: trunk/dports/java/commons-digester/Portfile
===================================================================
--- trunk/dports/java/commons-digester/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/commons-digester/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name				commons-digester
 version				2.0
@@ -37,9 +38,10 @@
 					-Dcommons-beanutils.jar=${prefix}/share/java/commons-beanutils.jar \
 					-Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar \
 					-Dcommons-logging.jar=${prefix}/share/java/commons-logging.jar
-					
+		
 post-build {
 	# Secondary ant build to build the digester rss jar
+	array set env [list JAVA_HOME [find_java_home]]
 	system "cd ${worksrcpath}/src/examples/rss && ant ${build.args} \
 		-Ddigester.home=${worksrcpath} dist"
 }

Modified: trunk/dports/java/commons-fileupload/Portfile
===================================================================
--- trunk/dports/java/commons-fileupload/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/commons-fileupload/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name				commons-fileupload
 version				1.2.2

Modified: trunk/dports/java/commons-logging/Portfile
===================================================================
--- trunk/dports/java/commons-logging/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/commons-logging/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name			commons-logging
 version			1.1.1

Modified: trunk/dports/java/commons-modeler/Portfile
===================================================================
--- trunk/dports/java/commons-modeler/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/commons-modeler/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name				commons-modeler
 version				2.0.1

Modified: trunk/dports/java/commons-pool/Portfile
===================================================================
--- trunk/dports/java/commons-pool/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/commons-pool/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name			commons-pool
 version			1.5.4

Modified: trunk/dports/java/junit/Portfile
===================================================================
--- trunk/dports/java/junit/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/junit/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       java 1.0
 
 name            junit
 version         4.6

Modified: trunk/dports/java/servlet23-api/Portfile
===================================================================
--- trunk/dports/java/servlet23-api/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/servlet23-api/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name            servlet23-api
 epoch           20061005

Modified: trunk/dports/java/servlet24-api/Portfile
===================================================================
--- trunk/dports/java/servlet24-api/Portfile	2012-08-06 19:49:57 UTC (rev 96265)
+++ trunk/dports/java/servlet24-api/Portfile	2012-08-06 19:52:55 UTC (rev 96266)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup java 1.0
 
 name            servlet24-api
 version         5.5.28
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120806/3170c549/attachment-0001.html>


More information about the macports-changes mailing list