Revision: 94759 https://trac.macports.org/changeset/94759 Author: blair@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" }