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

gui_dos at macports.org gui_dos at macports.org
Thu May 21 22:40:20 PDT 2009


Revision: 51276
          http://trac.macports.org/changeset/51276
Author:   gui_dos at macports.org
Date:     2009-05-21 22:40:19 -0700 (Thu, 21 May 2009)
Log Message:
-----------
groovy: version bump to 1.6.3 (#19618)

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

Modified: trunk/dports/java/groovy/Portfile
===================================================================
--- trunk/dports/java/groovy/Portfile	2009-05-22 04:53:19 UTC (rev 51275)
+++ trunk/dports/java/groovy/Portfile	2009-05-22 05:40:19 UTC (rev 51276)
@@ -1,65 +1,54 @@
 # $Id$
 
-PortSystem 			1.0
+PortSystem 1.0
 
-name				groovy
-version				1.6.2
-
-categories			java lang
-maintainers			nomaintainer
-platforms			darwin
-
-description			Groovy -- a Java-based scripting language
-long_description	Groovy is a new agile dynamic language for the JVM combining \
-					lots of great features from languages like Python, Ruby and \
-					Smalltalk and making them available to Java developers \
-					using a Java-like syntax. \
-					\
-					Groovy is designed to help you get things done on the Java \
-					platform in a quicker, more concise and fun way - bringing \
-					the power of Python and Ruby inside the Java platform. \
-					\
-					Groovy can be used as an alternative compiler to javac to \
-					generate standard Java bytecode to be used by any Java project \
-					or it can be used dynamically as an alternative language such \
-					as for scripting Java objects, templating or writing unit test cases.
-homepage			http://groovy.codehaus.org/
-
-distname			groovy-src-${version}
-master_sites    	http://dist.codehaus.org/groovy/distributions/
-
-checksums           md5     fcddb2f76c0f96d801ec7e84345f149b \
-	            sha1    320d2fa94462e14f19286a8b004ab81997f6177b \
-                    rmd160  5b2e802e466b6be563dcbf9cecec6b9ceae7f58a
-
-use_zip				yes
-
-depends_build		port:apache-ant
-depends_lib			bin:java:kaffe
-					
-use_configure		no
-
-worksrcdir			groovy-${version}
-
-build.cmd			ant
-build.target		install -DskipTests=true
-
+name            groovy
+version         1.6.3
+categories      java lang
+maintainers     nomaintainer
+platforms       darwin
+description     Groovy -- a Java-based scripting language
+long_description Groovy is a new agile dynamic language for the JVM combining \
+                lots of great features from languages like Python, Ruby and \
+                Smalltalk and making them available to Java developers \
+                using a Java-like syntax. \
+                \
+                Groovy is designed to help you get things done on the Java \
+                platform in a quicker, more concise and fun way - bringing \
+                the power of Python and Ruby inside the Java platform. \
+                \
+                Groovy can be used as an alternative compiler to javac to \
+                generate standard Java bytecode to be used by any Java project \
+                or it can be used dynamically as an alternative language such \
+                as for scripting Java objects, templating or writing unit test cases.
+homepage        http://groovy.codehaus.org/
+distname        groovy-src-${version}
+master_sites    http://dist.codehaus.org/groovy/distributions/
+checksums       md5     61a2f81749d4bc5e8ab84c2a8c2eace4 \
+                sha1    2b3648cce1369e043bf1a4130ea4a2a5c3bd6c08 \
+                rmd160  ed236f24a3afedf8fd5e9f03cea9e1687e8719a8
+use_zip         yes
+depends_build   port:apache-ant
+depends_lib     bin:java:kaffe			
+use_configure   no
+worksrcdir      groovy-${version}
+build.cmd       ant
+build.target    install -DskipTests=true
 destroot {
-	set target ${destroot}${prefix}/share/java/groovy
+    set target ${destroot}${prefix}/share/java/groovy
+
+    # Create the target java directory
+    xinstall -m 755 -d ${destroot}${prefix}/share/java
 	
-	# Create the target java directory
-	xinstall -m 755 -d ${destroot}${prefix}/share/java
-	
-	# Copy in our directory tree
-	file copy ${worksrcpath}/target/install ${target}
+    # Copy in our directory tree
+    file copy ${worksrcpath}/target/install ${target}
 		
-	# Remove .bat files
-	foreach f [glob -directory ${target}/bin *.bat] { file delete $f }
-	
-	# Fix permissions on the scripts,
-	# and at the same time add symlinks to them
-	foreach f { grape groovy groovyc groovyConsole groovysh java2groovy startGroovy } {
-		file attributes ${target}/bin/${f} -permissions +x
-		system "cd ${destroot}${prefix}/bin && ln -s ../share/java/groovy/bin/${f}"
-	}
+    # Remove .bat files
+    foreach f [glob -directory ${target}/bin *.bat] { file delete $f }
+    # Fix permissions on the scripts,
+    # and at the same time add symlinks to them
+    foreach f { grape groovy groovyc groovyConsole groovysh java2groovy startGroovy } {
+        file attributes ${target}/bin/${f} -permissions +x
+        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/20090521/7903ba86/attachment-0001.html>


More information about the macports-changes mailing list