[94760] trunk/dports/devel/apache-ant/Portfile
blair at macports.org
blair at macports.org
Thu Jun 28 21:45:38 PDT 2012
Revision: 94760
https://trac.macports.org/changeset/94760
Author: blair at macports.org
Date: 2012-06-28 21:45:38 -0700 (Thu, 28 Jun 2012)
Log Message:
-----------
apache-ant: use ln instead of system; use relative instead of absolute link.
Modified Paths:
--------------
trunk/dports/devel/apache-ant/Portfile
Modified: trunk/dports/devel/apache-ant/Portfile
===================================================================
--- trunk/dports/devel/apache-ant/Portfile 2012-06-29 04:42:57 UTC (rev 94759)
+++ trunk/dports/devel/apache-ant/Portfile 2012-06-29 04:45:38 UTC (rev 94760)
@@ -4,7 +4,7 @@
name apache-ant
version 1.8.4
-revision 1
+revision 2
categories devel java
license Apache-2 W3C
maintainers openmaintainer blair
@@ -86,8 +86,7 @@
${destroot}${prefix}/share/doc/${name}/${f}
}
- system "ln -fs ${prefix}/share/java/${name}/bin/ant \
- ${destroot}${prefix}/bin/ant"
+ ln -s ../share/java/${name}/bin/ant ${destroot}${prefix}/bin/ant
}
universal_variant no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120628/e6f95318/attachment.html>
More information about the macports-changes
mailing list