Revision
31657
Author
rhwood@macports.org
Date
2007-12-01 14:59:45 -0800 (Sat, 01 Dec 2007)

Log Message

Rework post-destroot to remove cd command

Modified Paths

Diff

Modified: trunk/dports/textproc/fribidi/Portfile (31656 => 31657)


--- trunk/dports/textproc/fribidi/Portfile	2007-12-01 22:58:50 UTC (rev 31656)
+++ trunk/dports/textproc/fribidi/Portfile	2007-12-01 22:59:45 UTC (rev 31657)
@@ -23,9 +23,8 @@
 build.env			MACOSX_DEPLOYMENT_TARGET="10.3"
 
 post-destroot {
-	file mkdir ${destroot}${prefix}/share/doc/${name}
-	cd ${worksrcpath}
-	xinstall -m 644 AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
-		TODO ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
+		NEWS README THANKS TODO ${destroot}${prefix}/share/doc/${name}
 }