[75660] trunk/dports/devel/apache-ivy/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Wed Feb 2 18:12:51 PST 2011


Revision: 75660
          http://trac.macports.org/changeset/75660
Author:   singingwolfboy at macports.org
Date:     2011-02-02 18:12:51 -0800 (Wed, 02 Feb 2011)
Log Message:
-----------
apache-ivy: removed extraneous ivy home, created symlink to ivy.jar from ANT_HOME/lib

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

Modified: trunk/dports/devel/apache-ivy/Portfile
===================================================================
--- trunk/dports/devel/apache-ivy/Portfile	2011-02-02 23:49:52 UTC (rev 75659)
+++ trunk/dports/devel/apache-ivy/Portfile	2011-02-03 02:12:51 UTC (rev 75660)
@@ -4,6 +4,7 @@
 
 name			    apache-ivy
 version			    2.2.0
+revision            1
 categories		    devel java
 maintainers		    singingwolfboy openmaintainer
 description		    Dependency manager for Apache Ant
@@ -36,12 +37,13 @@
 destroot {
     set javadir ${destroot}${prefix}/share/java/
     set docdir ${destroot}${prefix}/share/doc/
-    xinstall -d $javadir ${docdir}
+    xinstall -d ${javadir}/apache-ant/lib/ ${docdir}
     
     xinstall ${worksrcpath}/build/artifact/jars/ivy.jar ${javadir}
+    file link ${javadir}/apache-ant/lib/ivy.jar ${prefix}/share/java/ivy.jar
     file delete -force ${worksrcpath}/build/artifact
     move ${worksrcpath}/doc ${docdir}/${name}
-    move ${worksrcpath} ${javadir}/${name}
+    # move ${worksrcpath} ${javadir}/${name}
 }
 
 platform darwin {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110202/d3ef17d4/attachment.html>


More information about the macports-changes mailing list