[38365] trunk/dports/java/groovy/Portfile

jberry at macports.org jberry at macports.org
Thu Jul 17 09:06:36 PDT 2008


Revision: 38365
          http://trac.macosforge.org/projects/macports/changeset/38365
Author:   jberry at macports.org
Date:     2008-07-17 09:06:36 -0700 (Thu, 17 Jul 2008)
Log Message:
-----------
Update groovy --> 1.5.6, dropping maintainership. Resolves #15563.

Modified Paths:
--------------
    trunk/dports/java/groovy/Portfile

Modified: trunk/dports/java/groovy/Portfile
===================================================================
--- trunk/dports/java/groovy/Portfile	2008-07-17 16:02:42 UTC (rev 38364)
+++ trunk/dports/java/groovy/Portfile	2008-07-17 16:06:36 UTC (rev 38365)
@@ -3,10 +3,10 @@
 PortSystem 			1.0
 
 name				groovy
-version				1.0
+version				1.5.6
 
 categories			java lang
-maintainers			jberry openmaintainer
+maintainers			nomaintainer
 platforms			darwin
 
 description			Groovy -- a Java-based scripting language
@@ -25,27 +25,25 @@
 					as for scripting Java objects, templating or writing unit test cases.
 homepage			http://groovy.codehaus.org/
 
-distname			${name}-${version}-src
+distname			groovy-src-${version}
 master_sites    	http://dist.codehaus.org/groovy/distributions/
-checksums			md5 14d39578832e3c7a02a4d5972e5d573f
+checksums			md5 84c9d4031f6ffa21225d1dfcae90a783 \
+                    sha1 05bce208c2ee8e393a57d6fab785a42d9d9530f4 \
+                    rmd160 92f28fb3d8a6eea6949536e5ac194680f15e3a63
+use_zip				yes
 
-depends_build		bin:ant:apache-ant \
-					bin:maven:maven
+depends_build		bin:ant:apache-ant					
 depends_lib			bin:java:kaffe
 					
 use_configure		no
 
-worksrcdir			${name}-${version}
+worksrcdir			groovy-${version}
 
-build.cmd			maven
-build.target		groovy:disable-unittests groovy:make-install
+build.cmd			ant
+build.target		install -DskipTests=true
 
-post-patch {
-	reinplace /<wiki2testcase/d ${worksrcpath}/maven.xml
-}
-
 destroot {
-	set target ${destroot}${prefix}/share/java/${name}
+	set target ${destroot}${prefix}/share/java/groovy
 	
 	# Create the target java directory
 	xinstall -m 755 -d ${destroot}${prefix}/share/java
@@ -58,8 +56,8 @@
 	
 	# Fix permissions on the scripts,
 	# and at the same time add symlinks to them
-	foreach f { grok groovy groovyc groovyConsole groovysh startGroovy } {
+	foreach f { groovy groovyc groovyConsole groovysh startGroovy } {
 		file attributes ${target}/bin/${f} -permissions +x
-		system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/${f}"
+		system "cd ${destroot}${prefix}/bin && ln -s ../share/java/groovy/bin/${f}"
 	}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080717/8a266f2a/attachment.html 


More information about the macports-changes mailing list