[65771] trunk/dports/devel/gradle/Portfile

breskeby at macports.org breskeby at macports.org
Wed Mar 31 11:28:48 PDT 2010


Revision: 65771
          http://trac.macports.org/changeset/65771
Author:   breskeby at macports.org
Date:     2010-03-31 11:28:44 -0700 (Wed, 31 Mar 2010)
Log Message:
-----------
#24295 no longer build from source, use bin distribution instead.

Modified Paths:
--------------
    trunk/dports/devel/gradle/Portfile

Modified: trunk/dports/devel/gradle/Portfile
===================================================================
--- trunk/dports/devel/gradle/Portfile	2010-03-31 17:54:48 UTC (rev 65770)
+++ trunk/dports/devel/gradle/Portfile	2010-03-31 18:28:44 UTC (rev 65771)
@@ -15,11 +15,11 @@
 					
 homepage			http://www.gradle.org/
 platforms			darwin
-distname			${name}-${version}-src
+distname			${name}-${version}-bin
 master_sites		http://dist.codehaus.org/gradle
-checksums 			md5	cbedeb3328d6aba26c2f4e5fd58f3cdf \
-					sha1 ce679ae2176c86b6e0067fa217cb550f7f08e5e3 \
-					rmd160 ecf7a0eed51a0a6b0438a4b946f1da6e6f29587e
+checksums 			md5	d85ae1b2ba41a07d7860530f1a18698d \
+					sha1 cdb0673d7a89d00401bd3e6c46e0ef9e1f2d29f6 \
+					rmd160 0c0d1c040b8541a8c5e0102a7a8382daa774de0a
 						
 worksrcdir			${name}-${version}
 set workTarget		""
@@ -27,8 +27,7 @@
 use_zip				yes
 use_configure 		no
 
-build.cmd			./gradlew
-build.target		clean explodedDistBase -Dskip.test
+build.cmd			true
 
 platform darwin {
     extract.post_args	| gnutar -x
@@ -37,7 +36,7 @@
 
 pre-destroot {
 	# Remove extraneous bat files
-	foreach f [glob -directory ${worksrcpath}${workTarget}/build/distributions/exploded/bin *.bat] {
+	foreach f [glob -directory ${worksrcpath}${workTarget}/bin *.bat] {
 		file delete $f
 	}
 }
@@ -47,12 +46,12 @@
 	xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
 
 	# Copy over the needed elements of our directory tree
-	file copy ${worksrcpath}/build/distributions/exploded/bin					\
-			  ${worksrcpath}/build/distributions/exploded/lib 					\
-			  ${worksrcpath}/build/distributions/exploded/gradle-imports 		\
-			  ${worksrcpath}/build/distributions/exploded/LICENSE		 		\
-			  ${worksrcpath}/build/distributions/exploded/NOTICE		 		\
-			  ${worksrcpath}/build/distributions/exploded/plugin.properties 	\
+	file copy ${worksrcpath}/bin					\
+			  ${worksrcpath}/lib 					\
+			  ${worksrcpath}/gradle-imports 		\
+			  ${worksrcpath}/LICENSE		 		\
+			  ${worksrcpath}/NOTICE		 		\
+			  ${worksrcpath}/plugin.properties 	\
 			  ${destroot}${prefix}/share/java/${name}
 
 	# Symlink gradle into the bin directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100331/d498cf69/attachment.html>


More information about the macports-changes mailing list