[75115] trunk/dports/java/maven/Portfile

blair at macports.org blair at macports.org
Sat Jan 15 12:49:58 PST 2011


Revision: 75115
          http://trac.macports.org/changeset/75115
Author:   blair at macports.org
Date:     2011-01-15 12:49:51 -0800 (Sat, 15 Jan 2011)
Log Message:
-----------
Trim trailing whitespace.

Modified Paths:
--------------
    trunk/dports/java/maven/Portfile

Modified: trunk/dports/java/maven/Portfile
===================================================================
--- trunk/dports/java/maven/Portfile	2011-01-15 20:49:20 UTC (rev 75114)
+++ trunk/dports/java/maven/Portfile	2011-01-15 20:49:51 UTC (rev 75115)
@@ -24,7 +24,7 @@
 
 depends_build       bin:java:kaffe \
                     bin:ant:apache-ant
-                    
+
 patchfiles          patch-maven
 
 use_configure       no
@@ -39,7 +39,7 @@
 destroot {
     # Create the target java directory exists
     xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
-    
+
     # Copy over the needed elements of our directory tree
     file copy \
         ${worksrcpath}/bin \
@@ -47,19 +47,19 @@
         ${worksrcpath}/plugins \
         ${worksrcpath}/maven-navigation-1.0.xsd \
         ${destroot}${prefix}/share/java/${name}
-        
+
     # Remove extraneous bat files
     foreach f [glob -directory ${destroot}${prefix}/share/java/${name}/bin *.bat] {
         file delete $f
     }
-    
+
     # Fix permissions on shell scripts
     foreach f { maven install_repo.sh } {
         if [file exists ${destroot}${prefix}/share/java/${name}/bin/$f] {
             file attributes ${destroot}${prefix}/share/java/${name}/bin/$f -permissions +x
         }
     }
-    
+
     # Symlink maven into the bin directory
     system "cd ${destroot}${prefix}/bin && ln -s ../share/java/${name}/bin/${name}"
 }
@@ -67,14 +67,14 @@
 # The devel variant builds from source using cvs head
 variant devel {
     worksrcdir      ${name}
-    
+
     fetch.type      cvs
     cvs.root        :pserver:anoncvs at cvs.apache.org:/home/cvspublic
     cvs.module      maven maven-plugins
 
     build.env       MAVEN_HOME=${worksrcpath}
     build.cmd       ant
-    build.pre_args  -f build-bootstrap.xml  
+    build.pre_args  -f build-bootstrap.xml
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110115/a5ad8200/attachment.html>


More information about the macports-changes mailing list