[75114] trunk/dports/java/maven3/Portfile
blair at macports.org
blair at macports.org
Sat Jan 15 12:49:28 PST 2011
Revision: 75114
http://trac.macports.org/changeset/75114
Author: blair at macports.org
Date: 2011-01-15 12:49:20 -0800 (Sat, 15 Jan 2011)
Log Message:
-----------
Trim trailing whitespace.
Modified Paths:
--------------
trunk/dports/java/maven3/Portfile
Modified: trunk/dports/java/maven3/Portfile
===================================================================
--- trunk/dports/java/maven3/Portfile 2011-01-15 20:47:50 UTC (rev 75113)
+++ trunk/dports/java/maven3/Portfile 2011-01-15 20:49:20 UTC (rev 75114)
@@ -48,7 +48,7 @@
# Create the target java directory exists
xinstall -m 755 -d ${mavendir}
-
+
# Copy over the needed elements of our directory tree
file copy \
${worksrcpath}/bin \
@@ -56,12 +56,12 @@
${worksrcpath}/conf \
${worksrcpath}/lib \
${mavendir}
-
+
# 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] {
@@ -78,7 +78,7 @@
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"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110115/4bbf9a83/attachment-0001.html>
More information about the macports-changes
mailing list