[95469] trunk/dports/java

blair at macports.org blair at macports.org
Fri Jul 13 12:12:30 PDT 2012


Revision: 95469
          https://trac.macports.org/changeset/95469
Author:   blair at macports.org
Date:     2012-07-13 12:12:30 -0700 (Fri, 13 Jul 2012)
Log Message:
-----------
spring-*: whitespace changes: switch to 4-space indentation.

Modified Paths:
--------------
    trunk/dports/java/spring-framework25/Portfile
    trunk/dports/java/spring-framework30/Portfile
    trunk/dports/java/spring-framework31/Portfile
    trunk/dports/java/spring-javaconfig/Portfile

Modified: trunk/dports/java/spring-framework25/Portfile
===================================================================
--- trunk/dports/java/spring-framework25/Portfile	2012-07-13 19:07:11 UTC (rev 95468)
+++ trunk/dports/java/spring-framework25/Portfile	2012-07-13 19:12:30 UTC (rev 95469)
@@ -2,65 +2,66 @@
 
 PortSystem 1.0
 
-name			spring-framework25
-version			2.5.6.SEC01
+name            spring-framework25
+version         2.5.6.SEC01
 
-categories		java
-license			Apache-2
-maintainers		nomaintainer
-platforms		darwin
+categories      java
+license         Apache-2
+maintainers     nomaintainer
+platforms       darwin
 
-description		Spring application framework for Java
-long_description	Spring is a layered Java/J2EE application framework.
-homepage		http://www.springframework.org/
+description     Spring application framework for Java
+long_description \
+    Spring is a layered Java/J2EE application framework.
+homepage        http://www.springframework.org/
 
-distname		spring-framework-${version}-with-dependencies
-master_sites		http://s3.amazonaws.com/dist.springframework.org/release/SPR
-checksums		md5 b57bae9b69472a5d59c6ee82ca587fd3 \
-			sha1 876e0b03f1ab18c7796894ba7532c8fa9a9896c4 \
-			rmd160 8200e5ccb17249201ebf60e01d18ae3fa7cba9b7
+distname        spring-framework-${version}-with-dependencies
+master_sites    http://s3.amazonaws.com/dist.springframework.org/release/SPR
+checksums       md5 b57bae9b69472a5d59c6ee82ca587fd3 \
+                sha1 876e0b03f1ab18c7796894ba7532c8fa9a9896c4 \
+                rmd160 8200e5ccb17249201ebf60e01d18ae3fa7cba9b7
 
-use_zip			yes
+use_zip         yes
 
-depends_lib		bin:java:kaffe
+depends_lib     bin:java:kaffe
 
-use_configure		no
+use_configure   no
 
-worksrcdir		spring-framework-${version}
+worksrcdir      spring-framework-${version}
 
-build.cmd		true
+build.cmd       true
 
 destroot {
-	# Ensure needed directories
-	xinstall -m 755 -d ${destroot}${prefix}/share/java/${name} \
-		${destroot}${prefix}/share/doc \
-		${destroot}${prefix}/share/examples
+    # Ensure needed directories
+    xinstall -m 755 -d \
+            ${destroot}${prefix}/share/java/${name} \
+            ${destroot}${prefix}/share/doc \
+            ${destroot}${prefix}/share/examples
 
-	# Install the framework
-	file copy ${worksrcpath}/dist \
-		${destroot}${prefix}/share/java/${name}/dist
+    # Install the framework
+    file copy ${worksrcpath}/dist \
+        ${destroot}${prefix}/share/java/${name}/dist
 
-	# Add symlinks to jars
-	foreach f [glob -tails -directory ${destroot}${prefix}/share/java ${name}/dist/*.jar] {
-		system "cd ${destroot}${prefix}/share/java && ln -s ${f}"
-	}
+    # Add symlinks to jars
+    foreach f [glob -tails -directory ${destroot}${prefix}/share/java ${name}/dist/*.jar] {
+        system "cd ${destroot}${prefix}/share/java && ln -s ${f}"
+    }
 
-	# Install the docs
-	file copy ${worksrcpath}/docs \
-		${destroot}${prefix}/share/doc/${name}
+    # Install the docs
+    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
 
-	# Install samples
-	file copy ${worksrcpath}/samples \
-		${destroot}${prefix}/share/examples/${name}
+    # Install samples
+    file copy ${worksrcpath}/samples \
+        ${destroot}${prefix}/share/examples/${name}
 }
 
 variant with_libs description {Install libraries used for sample applications} {
-	post-destroot {
-		file copy ${worksrcpath}/lib \
-			${destroot}${prefix}/share/java/${name}/lib
-	}
+    post-destroot {
+        file copy ${worksrcpath}/lib \
+            ${destroot}${prefix}/share/java/${name}/lib
+    }
 }
 
-livecheck.type		sourceforge
-livecheck.name		springframework
-livecheck.distname	springframework-2
+livecheck.type          sourceforge
+livecheck.name          springframework
+livecheck.distname      springframework-2

Modified: trunk/dports/java/spring-framework30/Portfile
===================================================================
--- trunk/dports/java/spring-framework30/Portfile	2012-07-13 19:07:11 UTC (rev 95468)
+++ trunk/dports/java/spring-framework30/Portfile	2012-07-13 19:12:30 UTC (rev 95469)
@@ -2,55 +2,57 @@
 
 PortSystem 1.0
 
-name                    spring-framework30
-version                 3.0.7
-set full_version        ${version}.RELEASE
+name            spring-framework30
+version         3.0.7
+set full_version ${version}.RELEASE
 
-categories              java
-license                 Apache-2.0
-maintainers             blair
-platforms               darwin
+categories      java
+license         Apache-2.0
+maintainers     blair
+platforms       darwin
 
-description             Spring application framework for Java
-long_description        Spring is a layered Java/J2EE application framework.
-homepage                http://www.springsource.org/about
+description     Spring application framework for Java
+long_description \
+    Spring is a layered Java/J2EE application framework.
+homepage        http://www.springsource.org/about
 
-distname                spring-framework-${full_version}-with-docs
-master_sites            http://s3.amazonaws.com/dist.springframework.org/release/SPR
-checksums               md5 2126ea7f6659e282e62fc36c152e98d7 \
-                        sha1 9f5c5ae3f11f9a9f51387e27e7a3da475e13bf1c \
-                        rmd160 b35c1c60b8c1b90fc459b5a6daacf920ad54ee5b
+distname        spring-framework-${full_version}-with-docs
+master_sites    http://s3.amazonaws.com/dist.springframework.org/release/SPR
+checksums       md5 2126ea7f6659e282e62fc36c152e98d7 \
+                sha1 9f5c5ae3f11f9a9f51387e27e7a3da475e13bf1c \
+                rmd160 b35c1c60b8c1b90fc459b5a6daacf920ad54ee5b
 
-use_zip                 yes
+use_zip         yes
 
-conflicts               spring-framework31
-depends_lib             bin:java:kaffe
+conflicts       spring-framework31
+depends_lib     bin:java:kaffe
 
-use_configure           no
+use_configure   no
 
-worksrcdir              spring-framework-${full_version}
+worksrcdir      spring-framework-${full_version}
 
-build.cmd               true
+build.cmd       true
 
 destroot {
-        # Ensure needed directories
-        xinstall -m 755 -d ${destroot}${prefix}/share \
-                ${destroot}${prefix}/share/doc/${name} \
-                ${destroot}${prefix}/share/examples
+    # Ensure needed directories
+    xinstall -m 755 -d \
+        ${destroot}${prefix}/share \
+        ${destroot}${prefix}/share/doc/${name} \
+        ${destroot}${prefix}/share/examples
 
-        # Install the framework
-        file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
-        foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
-                file rename ${f} [strsed ${f} s/-${full_version}//]
-        }
+    # Install the framework
+    file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
+    foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
+        file rename ${f} [strsed ${f} s/-${full_version}//]
+    }
 
-        # Install the docs
-        foreach f {changelog.txt license.txt notice.txt readme.txt} {
-                file copy ${worksrcpath}/${f} \
-                        ${destroot}${prefix}/share/doc/${name}/${f}
-        }
-        file copy ${worksrcpath}/docs/javadoc-api \
-                ${destroot}${prefix}/share/doc/${name}/api
-        file copy ${worksrcpath}/docs/spring-framework-reference \
-                ${destroot}${prefix}/share/doc/${name}/reference
+    # Install the docs
+    foreach f {changelog.txt license.txt notice.txt readme.txt} {
+        file copy ${worksrcpath}/${f} \
+            ${destroot}${prefix}/share/doc/${name}/${f}
+    }
+    file copy ${worksrcpath}/docs/javadoc-api \
+        ${destroot}${prefix}/share/doc/${name}/api
+    file copy ${worksrcpath}/docs/spring-framework-reference \
+        ${destroot}${prefix}/share/doc/${name}/reference
 }

Modified: trunk/dports/java/spring-framework31/Portfile
===================================================================
--- trunk/dports/java/spring-framework31/Portfile	2012-07-13 19:07:11 UTC (rev 95468)
+++ trunk/dports/java/spring-framework31/Portfile	2012-07-13 19:12:30 UTC (rev 95469)
@@ -2,55 +2,57 @@
 
 PortSystem 1.0
 
-name                    spring-framework31
-version                 3.1.2
-set full_version        ${version}.RELEASE
+name            spring-framework31
+version         3.1.2
+set full_version ${version}.RELEASE
 
-categories              java
-license                 {Apache-2.0 BSD}
-maintainers             blair
-platforms               darwin
+categories      java
+license         {Apache-2.0 BSD}
+maintainers     blair
+platforms       darwin
 
-description             Spring application framework for Java
-long_description        Spring is a layered Java/J2EE application framework.
-homepage                http://www.springsource.org/about
+description     Spring application framework for Java
+long_description \
+    Spring is a layered Java/J2EE application framework.
+homepage        http://www.springsource.org/about
 
-distname                spring-framework-${full_version}-with-docs
-master_sites            http://s3.amazonaws.com/dist.springframework.org/release/SPR
-checksums               md5 a092c72d730e049f18123f2ec090df5c \
-                        sha1 115fcdc3a7f0917a9cdaa44207a7d5b0373b3122 \
-                        rmd160 fed31138af34415522a52241232f2813cb875957
+distname        spring-framework-${full_version}-with-docs
+master_sites    http://s3.amazonaws.com/dist.springframework.org/release/SPR
+checksums       md5 a092c72d730e049f18123f2ec090df5c \
+                sha1 115fcdc3a7f0917a9cdaa44207a7d5b0373b3122 \
+                rmd160 fed31138af34415522a52241232f2813cb875957
 
-use_zip                 yes
+use_zip         yes
 
-conflicts               spring-framework30
-depends_lib             bin:java:kaffe
+conflicts       spring-framework30
+depends_lib     bin:java:kaffe
 
-use_configure           no
+use_configure   no
 
-worksrcdir              spring-framework-${full_version}
+worksrcdir      spring-framework-${full_version}
 
-build.cmd               true
+build.cmd       true
 
 destroot {
-        # Ensure needed directories
-        xinstall -m 755 -d ${destroot}${prefix}/share \
-                ${destroot}${prefix}/share/doc/${name} \
-                ${destroot}${prefix}/share/examples
+    # Ensure needed directories
+    xinstall -m 755 -d \
+        ${destroot}${prefix}/share \
+        ${destroot}${prefix}/share/doc/${name} \
+        ${destroot}${prefix}/share/examples
 
-        # Install the framework
-        file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
-        foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
-                file rename ${f} [strsed ${f} s/-${full_version}//]
-        }
+    # Install the framework
+    file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
+    foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
+        file rename ${f} [strsed ${f} s/-${full_version}//]
+    }
 
-        # Install the docs
-        foreach f {changelog.txt license.txt notice.txt readme.txt} {
-                file copy ${worksrcpath}/${f} \
-                        ${destroot}${prefix}/share/doc/${name}/${f}
-        }
-        file copy ${worksrcpath}/docs/javadoc-api \
-                ${destroot}${prefix}/share/doc/${name}/api
-        file copy ${worksrcpath}/docs/spring-framework-reference \
-                ${destroot}${prefix}/share/doc/${name}/reference
+    # Install the docs
+    foreach f {changelog.txt license.txt notice.txt readme.txt} {
+        file copy ${worksrcpath}/${f} \
+            ${destroot}${prefix}/share/doc/${name}/${f}
+    }
+    file copy ${worksrcpath}/docs/javadoc-api \
+        ${destroot}${prefix}/share/doc/${name}/api
+    file copy ${worksrcpath}/docs/spring-framework-reference \
+        ${destroot}${prefix}/share/doc/${name}/reference
 }

Modified: trunk/dports/java/spring-javaconfig/Portfile
===================================================================
--- trunk/dports/java/spring-javaconfig/Portfile	2012-07-13 19:07:11 UTC (rev 95468)
+++ trunk/dports/java/spring-javaconfig/Portfile	2012-07-13 19:12:30 UTC (rev 95469)
@@ -2,51 +2,51 @@
 
 PortSystem 1.0
 
-name			spring-javaconfig
-set realversion		1.0.0.M4
-version			0.2.${realversion}
-revision                1
+name            spring-javaconfig
+set realversion 1.0.0.M4
+version         0.2.${realversion}
+revision        1
 
-categories		java
-maintainers		blair
-platforms		darwin
+categories      java
+maintainers     blair
+platforms       darwin
 
-description		Type-safe, pure-Java way to configure applications
-long_description	The Spring JavaConfig project provides a type-safe, \
-			pure-Java option for configuring Spring Application \
-			Contexts.  While most people currently use XML to \
-			configure bean definitions in their Application \
-			Contexts, Spring's versatility and metadata based \
-			internal handling of bean definitions means \
-			alternatives to XML config are easy to implement. 
-homepage		http://www.springframework.org/javaconfig
+description     Type-safe, pure-Java way to configure applications
+long_description \
+    The Spring JavaConfig project provides a type-safe, \
+    pure-Java option for configuring Spring Application \
+    Contexts.  While most people currently use XML to \
+    configure bean definitions in their Application \
+    Contexts, Spring's versatility and metadata based \
+    internal handling of bean definitions means \
+    alternatives to XML config are easy to implement. 
+homepage        http://www.springframework.org/javaconfig
 
-distname		${name}-${realversion}
-master_sites		http://s3.amazonaws.com/dist.springframework.org/milestone/SJC
-checksums		md5 a507d2ee282d22cbc3041f0b90ab20c9 \
-			sha1 a92594291dc5e81088023f52435c27ac8fdf20c7 \
-			rmd160 3bdc3d2d9a925008515238dd939ed2daf0cf8286
+distname        ${name}-${realversion}
+master_sites    http://s3.amazonaws.com/dist.springframework.org/milestone/SJC
+checksums       md5 a507d2ee282d22cbc3041f0b90ab20c9 \
+                sha1 a92594291dc5e81088023f52435c27ac8fdf20c7 \
+                rmd160 3bdc3d2d9a925008515238dd939ed2daf0cf8286
 
-use_zip			yes
+use_zip         yes
 
-depends_lib		bin:java:kaffe \
-			port:spring-framework25 \
-			port:cglib
+depends_lib     bin:java:kaffe \
+                port:spring-framework25 \
+                port:cglib
 
-use_configure		no
+use_configure   no
 
-worksrcdir		${name}
+worksrcdir      ${name}
 
-build.cmd		true
+build.cmd       true
 
 destroot {
-	# Ensure needed directories
-	xinstall -m 755 -d ${destroot}${prefix}/share/java \
-		${destroot}${prefix}/share/doc
+    # Ensure needed directories
+    xinstall -m 755 -d ${destroot}${prefix}/share/java \
+        ${destroot}${prefix}/share/doc
 
-	file copy ${worksrcpath}/dist/org.springframework.config.java-${realversion}.jar \
-		${destroot}${prefix}/share/java/${name}.jar
+    file copy ${worksrcpath}/dist/org.springframework.config.java-${realversion}.jar \
+        ${destroot}${prefix}/share/java/${name}.jar
 
-	file copy ${worksrcpath}/docs \
-		${destroot}${prefix}/share/doc/${name}
+    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120713/e8a9597a/attachment-0001.html>


More information about the macports-changes mailing list