[94759] trunk/dports/devel/apache-ant/Portfile
blair at macports.org
blair at macports.org
Thu Jun 28 21:42:58 PDT 2012
Revision: 94759
https://trac.macports.org/changeset/94759
Author: blair at macports.org
Date: 2012-06-28 21:42:57 -0700 (Thu, 28 Jun 2012)
Log Message:
-----------
apache-ant: move doc files to standard ${prefix}/share/doc/${name} location.
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:25:50 UTC (rev 94758)
+++ trunk/dports/devel/apache-ant/Portfile 2012-06-29 04:42:57 UTC (rev 94759)
@@ -4,6 +4,7 @@
name apache-ant
version 1.8.4
+revision 1
categories devel java
license Apache-2 W3C
maintainers openmaintainer blair
@@ -72,6 +73,19 @@
xinstall -m 755 -d ${destroot}${prefix}/share/java
file copy ${worksrcpath}${workTarget} \
${destroot}${prefix}/share/java/${name}
+
+ xinstall -m 744 -d ${destroot}${prefix}/share/doc/${name}
+ foreach f {INSTALL
+ KEYS
+ LICENSE
+ NOTICE
+ README
+ WHATSNEW
+ manual} {
+ file rename ${destroot}${prefix}/share/java/${name}/${f} \
+ ${destroot}${prefix}/share/doc/${name}/${f}
+ }
+
system "ln -fs ${prefix}/share/java/${name}/bin/ant \
${destroot}${prefix}/bin/ant"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120628/41c1ee31/attachment.html>
More information about the macports-changes
mailing list