[76015] trunk/dports/lang/lua/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Feb 15 23:54:35 PST 2011


Revision: 76015
          http://trac.macports.org/changeset/76015
Author:   ryandesign at macports.org
Date:     2011-02-15 23:54:34 -0800 (Tue, 15 Feb 2011)
Log Message:
-----------
lua: simplify destroot using xinstall -W

Modified Paths:
--------------
    trunk/dports/lang/lua/Portfile

Modified: trunk/dports/lang/lua/Portfile
===================================================================
--- trunk/dports/lang/lua/Portfile	2011-02-16 07:51:51 UTC (rev 76014)
+++ trunk/dports/lang/lua/Portfile	2011-02-16 07:54:34 UTC (rev 76015)
@@ -55,9 +55,7 @@
 destroot.target	install INSTALL_TOP=${destroot}${prefix}
 post-destroot {
 	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 0644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 0644 ${worksrcpath}/COPYRIGHT ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 0644 ${worksrcpath}/HISTORY ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 0644 -W ${worksrcpath} COPYRIGHT HISTORY README ${destroot}${prefix}/share/doc/${name}
 	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/html
 	foreach html [glob ${worksrcpath}/doc/*.html ${worksrcpath}/doc/*.gif] {
 		xinstall -m 0644 ${html} ${destroot}${prefix}/share/doc/${name}/html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110215/ad04e45a/attachment.html>


More information about the macports-changes mailing list