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

khindenburg at macports.org khindenburg at macports.org
Sun Oct 5 18:50:18 PDT 2014


Revision: 126237
          https://trac.macports.org/changeset/126237
Author:   khindenburg at macports.org
Date:     2014-10-05 18:50:18 -0700 (Sun, 05 Oct 2014)
Log Message:
-----------
gradle: add modeline + whitespace

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

Modified: trunk/dports/devel/gradle/Portfile
===================================================================
--- trunk/dports/devel/gradle/Portfile	2014-10-06 01:34:43 UTC (rev 126236)
+++ trunk/dports/devel/gradle/Portfile	2014-10-06 01:50:18 UTC (rev 126237)
@@ -1,65 +1,65 @@
-
+# -*- 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
+PortSystem          1.0
 
-name				gradle
-version				1.11
-categories			devel java groovy
-maintainers			nomaintainer
-description			An open-source build system that is based on the Groovy language
-long_description	Gradle is a build system which offers you ease, power and freedom. \
-					You can choose the balance for yourself. It has powerful multi-project build \
-					support. It has a layer on top of Ivy that provides a build-by-convention \
-					integration for Ivy. It gives you always the choice between the flexibility \
-					of Ant and the convenience of a build-by-convention behavior.
-					
-homepage			http://www.gradle.org/
-conflicts			gradle-devel
-platforms			darwin
-distname			${name}-${version}-bin
-master_sites		http://services.gradle.org/distributions
+name                gradle
+version             1.11
+categories          devel java groovy
+maintainers         nomaintainer
+description         An open-source build system that is based on the Groovy language
+long_description    Gradle is a build system which offers you ease, power and freedom. \
+                    You can choose the balance for yourself. It has powerful multi-project build \
+                    support. It has a layer on top of Ivy that provides a build-by-convention \
+                    integration for Ivy. It gives you always the choice between the flexibility \
+                    of Ant and the convenience of a build-by-convention behavior.
 
+homepage            http://www.gradle.org/
+conflicts           gradle-devel
+platforms           darwin
+distname            ${name}-${version}-bin
+master_sites        http://services.gradle.org/distributions
+
 checksums           rmd160  2edd36a1c915df2b6a7140e850aea7c250c3f2b2 \
                     sha256  07e235df824964f0e19e73ea2327ce345c44bcd06d44a0123d29ab287fc34091
 
-worksrcdir			${name}-${version}
-set workTarget		""
+worksrcdir          ${name}-${version}
+set workTarget      ""
 
-use_zip				yes
-use_configure 		no
+use_zip             yes
+use_configure       no
 
-build.cmd			true
+build.cmd           true
 
 platform darwin {
-    build.env		JAVA_HOME=/Library/Java/Home
+    build.env       JAVA_HOME=/Library/Java/Home
 }
 
 pre-destroot {
-	# Remove extraneous bat files
-	foreach f [glob -directory ${worksrcpath}${workTarget}/bin *.bat] {
-		file delete $f
-	}
+    # Remove extraneous bat files
+    foreach f [glob -directory ${worksrcpath}${workTarget}/bin *.bat] {
+        file delete $f
+    }
 }
 
-destroot	{
-	# Create the target java directory
-	xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
+destroot    {
+    # Create the target java directory
+    xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
 
-	# Copy over the needed elements of our directory tree
-	file copy ${worksrcpath}/bin				\
-			  ${worksrcpath}/lib 				\
-			  ${worksrcpath}/LICENSE		 	\
-			  ${worksrcpath}/NOTICE		 		\
-			  ${destroot}${prefix}/share/java/${name}
+    # Copy over the needed elements of our directory tree
+    file copy ${worksrcpath}/bin \
+        ${worksrcpath}/lib \
+        ${worksrcpath}/LICENSE \
+        ${worksrcpath}/NOTICE \
+        ${destroot}${prefix}/share/java/${name}
 
-	# Symlink gradle into the bin directory
-	system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/java/${name}/bin/gradle"
+    # Symlink gradle into the bin directory
+    system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/java/${name}/bin/gradle"
 }
 
 post-activate {
- 	        ui_msg "****************************************************************************"
- 	        ui_msg "* Remember to set the environment variable GRADLE_HOME to the path to"
- 	        ui_msg "* the gradle distribution: ${prefix}/share/java/${name}"
- 	        ui_msg "****************************************************************************"
- }
+            ui_msg "****************************************************************************"
+            ui_msg "* Remember to set the environment variable GRADLE_HOME to the path to"
+            ui_msg "* the gradle distribution: ${prefix}/share/java/${name}"
+            ui_msg "****************************************************************************"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141005/5ee9b8fb/attachment-0001.html>


More information about the macports-changes mailing list