[95476] trunk/dports/java
blair at macports.org
blair at macports.org
Fri Jul 13 12:28:51 PDT 2012
Revision: 95476
https://trac.macports.org/changeset/95476
Author: blair at macports.org
Date: 2012-07-13 12:28:51 -0700 (Fri, 13 Jul 2012)
Log Message:
-----------
maven{2,3}: whitespace changes: move to 4-space indentation.
Modified Paths:
--------------
trunk/dports/java/maven2/Portfile
trunk/dports/java/maven3/Portfile
Modified: trunk/dports/java/maven2/Portfile
===================================================================
--- trunk/dports/java/maven2/Portfile 2012-07-13 19:24:43 UTC (rev 95475)
+++ trunk/dports/java/maven2/Portfile 2012-07-13 19:28:51 UTC (rev 95476)
@@ -49,40 +49,40 @@
build.cmd true
destroot {
- set mavendir ${destroot}${prefix}/share/java/${name}
+ set mavendir ${destroot}${prefix}/share/java/${name}
- # Create the target java directory exists
- xinstall -m 755 -d ${mavendir}
+ # Create the target java directory exists
+ xinstall -m 755 -d ${mavendir}
- # Copy over the needed elements of our directory tree
- file copy \
- ${worksrcpath}/bin \
- ${worksrcpath}/boot \
- ${worksrcpath}/conf \
- ${worksrcpath}/lib \
- ${mavendir}
+ # Copy over the needed elements of our directory tree
+ file copy \
+ ${worksrcpath}/bin \
+ ${worksrcpath}/boot \
+ ${worksrcpath}/conf \
+ ${worksrcpath}/lib \
+ ${mavendir}
- # Remove extraneous bat files
- foreach f [glob -directory ${mavendir}/bin *.bat] {
- file delete $f
- }
+ # Remove extraneous bat files
+ foreach f [glob -directory ${mavendir}/bin *.bat] {
+ file delete $f
+ }
- # Fix permissions on shell scripts
- foreach f { maven install_repo.sh } {
- if [file exists ${mavendir}/bin/$f] {
- file attributes ${mavendir}/bin/$f -permissions +x
- }
+ # Fix permissions on shell scripts
+ foreach f { maven install_repo.sh } {
+ if [file exists ${mavendir}/bin/$f] {
+ file attributes ${mavendir}/bin/$f -permissions +x
}
+ }
- # Reduce the permissions on the distribution files.
- file attributes ${mavendir}/conf -permissions 0755
- file attributes ${mavendir}/conf/settings.xml -permissions 0644
- foreach f [glob -directory ${mavendir}/lib *.jar] {
- file attributes $f -permissions 0644
- }
+ # Reduce the permissions on the distribution files.
+ file attributes ${mavendir}/conf -permissions 0755
+ file attributes ${mavendir}/conf/settings.xml -permissions 0644
+ foreach f [glob -directory ${mavendir}/lib *.jar] {
+ file attributes $f -permissions 0644
+ }
- # Symlink maven into the bin directory
- system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/mvn mvn2"
+ # Symlink maven into the bin directory
+ system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/mvn mvn2"
}
notes \
Modified: trunk/dports/java/maven3/Portfile
===================================================================
--- trunk/dports/java/maven3/Portfile 2012-07-13 19:24:43 UTC (rev 95475)
+++ trunk/dports/java/maven3/Portfile 2012-07-13 19:28:51 UTC (rev 95476)
@@ -49,43 +49,43 @@
build.cmd true
destroot {
- set mavendir ${destroot}${prefix}/share/java/${name}
+ set mavendir ${destroot}${prefix}/share/java/${name}
- # Create the target java directory exists
- xinstall -m 755 -d ${mavendir}
+ # Create the target java directory exists
+ xinstall -m 755 -d ${mavendir}
- # Copy over the needed elements of our directory tree
- file copy \
- ${worksrcpath}/bin \
- ${worksrcpath}/boot \
- ${worksrcpath}/conf \
- ${worksrcpath}/lib \
- ${mavendir}
+ # Copy over the needed elements of our directory tree
+ file copy \
+ ${worksrcpath}/bin \
+ ${worksrcpath}/boot \
+ ${worksrcpath}/conf \
+ ${worksrcpath}/lib \
+ ${mavendir}
- # Remove extraneous bat files
- foreach f [glob -directory ${mavendir}/bin *.bat] {
- file delete $f
- }
+ # Remove extraneous bat files
+ foreach f [glob -directory ${mavendir}/bin *.bat] {
+ file delete $f
+ }
- # Fix permissions on shell scripts
- foreach f { maven install_repo.sh } {
- if [file exists ${mavendir}/bin/$f] {
- file attributes ${mavendir}/bin/$f -permissions +x
- }
+ # Fix permissions on shell scripts
+ foreach f { maven install_repo.sh } {
+ if [file exists ${mavendir}/bin/$f] {
+ file attributes ${mavendir}/bin/$f -permissions +x
}
+ }
- # Reduce the permissions on the distribution files.
- file attributes ${mavendir}/conf -permissions 0755
- file attributes ${mavendir}/conf/settings.xml -permissions 0644
- foreach f [glob -directory ${mavendir}/boot *.jar] {
- file attributes $f -permissions 0644
- }
- foreach f [glob -directory ${mavendir}/lib *.jar] {
- file attributes $f -permissions 0644
- }
+ # Reduce the permissions on the distribution files.
+ file attributes ${mavendir}/conf -permissions 0755
+ file attributes ${mavendir}/conf/settings.xml -permissions 0644
+ foreach f [glob -directory ${mavendir}/boot *.jar] {
+ file attributes $f -permissions 0644
+ }
+ foreach f [glob -directory ${mavendir}/lib *.jar] {
+ file attributes $f -permissions 0644
+ }
- # Symlink maven into the bin directory
- system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/mvn mvn3"
+ # Symlink maven into the bin directory
+ system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/mvn mvn3"
}
notes \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120713/97a470b2/attachment.html>
More information about the macports-changes
mailing list