[74985] trunk/dports/devel/apache-ant/Portfile

blair at macports.org blair at macports.org
Mon Jan 10 10:30:11 PST 2011


Revision: 74985
          http://trac.macports.org/changeset/74985
Author:   blair at macports.org
Date:     2011-01-10 10:30:02 -0800 (Mon, 10 Jan 2011)
Log Message:
-----------
Convert from tabs to whitespace.  "svn diff --diff-cmd diff -x -uw"
shows no chnages.

Modified Paths:
--------------
    trunk/dports/devel/apache-ant/Portfile

Modified: trunk/dports/devel/apache-ant/Portfile
===================================================================
--- trunk/dports/devel/apache-ant/Portfile	2011-01-10 18:26:45 UTC (rev 74984)
+++ trunk/dports/devel/apache-ant/Portfile	2011-01-10 18:30:02 UTC (rev 74985)
@@ -2,41 +2,41 @@
 
 PortSystem 1.0
 
-name			apache-ant
-version			1.8.1
-revision		1
-categories		devel java
-maintainers		openmaintainer blair
-supported_archs	noarch
+name                    apache-ant
+version                 1.8.1
+revision                1
+categories              devel java
+maintainers             openmaintainer blair
+supported_archs         noarch
 
-description		Java opensource build system
-long_description	Ant is a Java based build tool.  In theory it is \
-			kind of like make without make's wrinkles.  Ant \
-			uses XML build files that define a set of targets.  \
-			Each target has dependencies (other targets) and \
-			contains a set of tasks to perform.
-homepage		http://ant.apache.org/
+description             Java opensource build system
+long_description        Ant is a Java based build tool.  In theory it is \
+                        kind of like make without make's wrinkles.  Ant \
+                        uses XML build files that define a set of targets.  \
+                        Each target has dependencies (other targets) and \
+                        contains a set of tasks to perform.
+homepage                http://ant.apache.org/
 
-platforms		darwin freebsd
+platforms               darwin freebsd
 
-distname		${name}-${version}-bin
-master_sites    apache:ant/
-master_sites.mirror_subdir	binaries
-checksums       md5     708cf4d654869146a0ab8410b8ae67fe \
-                sha1    0e0359f04b3d84fed75b3a1ab02cbc415c8864a1 \
-                rmd160  2666bd4ca16228a09a7c696cdb7c6108404f21b5 
+distname                ${name}-${version}-bin
+master_sites            apache:ant/
+master_sites.mirror_subdir        binaries
+checksums               md5     708cf4d654869146a0ab8410b8ae67fe \
+                        sha1    0e0359f04b3d84fed75b3a1ab02cbc415c8864a1 \
+                        rmd160  2666bd4ca16228a09a7c696cdb7c6108404f21b5 
 
-worksrcdir		${name}-${version}
-set workTarget	""
+worksrcdir              ${name}-${version}
+set workTarget          ""
 
-use_bzip2		yes
-use_configure	no
+use_bzip2               yes
+use_configure           no
 
-build.cmd 		true
+build.cmd               true
 
 platform darwin {
-    extract.post_args	| gnutar -x
-    build.env		JAVA_HOME=/Library/Java/Home
+    extract.post_args   | gnutar -x
+    build.env           JAVA_HOME=/Library/Java/Home
 }
 
 # Ant is installed from the binary (jar) distribution by default. Due to
@@ -45,37 +45,37 @@
 # dependent support isn't available when ant is built, due to circular
 # dependencies back to ant.
 variant source description "build from source; not recommended" {
-	distname 					${name}-${version}-src
-	master_sites.mirror_subdir	source
-	checksums					md5 10270c71a5fe12f9b9c8d3be3ba1594e 
-	set workTarget				/${name}
+        distname                        ${name}-${version}-src
+        master_sites.mirror_subdir      source
+        checksums                       md5 10270c71a5fe12f9b9c8d3be3ba1594e 
+        set workTarget                  /${name}
 
-	build.cmd 		./build.sh
-	build.args 		-Dchmod.fail=false -Ddist.name=${name}
-	build.target	dist
+        build.cmd                       ./build.sh
+        build.args                      -Dchmod.fail=false -Ddist.name=${name}
+        build.target                    dist
 }
 
 pre-destroot {
-	delete \
-            ${worksrcpath}${workTarget}/bin/ant.bat \
-            ${worksrcpath}${workTarget}/bin/ant.cmd \
-            ${worksrcpath}${workTarget}/bin/antRun.bat \
-            ${worksrcpath}${workTarget}/bin/antenv.cmd \
-            ${worksrcpath}${workTarget}/bin/envset.cmd \
-            ${worksrcpath}${workTarget}/bin/lcp.bat \
-            ${worksrcpath}${workTarget}/bin/runrc.cmd
+        delete \
+                ${worksrcpath}${workTarget}/bin/ant.bat \
+                ${worksrcpath}${workTarget}/bin/ant.cmd \
+                ${worksrcpath}${workTarget}/bin/antRun.bat \
+                ${worksrcpath}${workTarget}/bin/antenv.cmd \
+                ${worksrcpath}${workTarget}/bin/envset.cmd \
+                ${worksrcpath}${workTarget}/bin/lcp.bat \
+                ${worksrcpath}${workTarget}/bin/runrc.cmd
 }
 
-destroot	{
-	xinstall -m 755 -d ${destroot}${prefix}/share/java
-	file copy ${worksrcpath}${workTarget} \
-		${destroot}${prefix}/share/java/${name}
-	system "ln -fs ${prefix}/share/java/${name}/bin/ant \
-		${destroot}${prefix}/bin/ant"
+destroot        {
+        xinstall -m 755 -d ${destroot}${prefix}/share/java
+        file copy ${worksrcpath}${workTarget} \
+                ${destroot}${prefix}/share/java/${name}
+        system "ln -fs ${prefix}/share/java/${name}/bin/ant \
+                ${destroot}${prefix}/bin/ant"
 }
 
-universal_variant   no
+universal_variant       no
 
-livecheck.type  regex
-livecheck.url   http://www.apache.org/dist/ant/README.html
-livecheck.regex {Apache Ant (\d+(?:\.\d+)*)}
+livecheck.type          regex
+livecheck.url           http://www.apache.org/dist/ant/README.html
+livecheck.regex         {Apache Ant (\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110110/0137ed1e/attachment.html>


More information about the macports-changes mailing list