[83873] trunk/dports/games/vectoroids/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Sep 12 01:08:22 PDT 2011


Revision: 83873
          http://trac.macports.org/changeset/83873
Author:   ryandesign at macports.org
Date:     2011-09-12 01:08:16 -0700 (Mon, 12 Sep 2011)
Log Message:
-----------
vectoroids: simplify post-destroot doc installation using xinstall

Modified Paths:
--------------
    trunk/dports/games/vectoroids/Portfile

Modified: trunk/dports/games/vectoroids/Portfile
===================================================================
--- trunk/dports/games/vectoroids/Portfile	2011-09-12 06:38:37 UTC (rev 83872)
+++ trunk/dports/games/vectoroids/Portfile	2011-09-12 08:08:16 UTC (rev 83873)
@@ -35,7 +35,7 @@
 		MAN_PREFIX=${destroot}${prefix}/share
 
 post-destroot	{
-	file mkdir ${destroot}${prefix}/share/doc/${name}
-	file copy ${worksrcpath}/CHANGES.txt ${worksrcpath}/COPYING.txt \
-		${worksrcpath}/README.txt ${destroot}${prefix}/share/doc/${name}
+	xinstall -d ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 -W ${worksrcpath} CHANGES.txt COPYING.txt README.txt \
+	        ${destroot}${prefix}/share/doc/${name}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110912/a473c082/attachment.html>


More information about the macports-changes mailing list