[32842] trunk/dports/aqua/ZopeEditManager/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 13 21:22:14 PST 2008


Revision: 32842
          http://trac.macosforge.org/projects/macports/changeset/32842
Author:   ryandesign at macports.org
Date:     2008-01-13 21:22:13 -0800 (Sun, 13 Jan 2008)

Log Message:
-----------
ZopeEditManager: no longer use the deprecated 'cd' command

Modified Paths:
--------------
    trunk/dports/aqua/ZopeEditManager/Portfile

Modified: trunk/dports/aqua/ZopeEditManager/Portfile
===================================================================
--- trunk/dports/aqua/ZopeEditManager/Portfile	2008-01-14 05:20:59 UTC (rev 32841)
+++ trunk/dports/aqua/ZopeEditManager/Portfile	2008-01-14 05:22:13 UTC (rev 32842)
@@ -32,15 +32,13 @@
 
 destroot {
 	set appPath ${destroot}/Applications/MacPorts
-	cd ${worksrcpath}
 	xinstall -d -m 0755 ${appPath}
-	system "cp -R dist/${name}.app ${appPath}/${name}.app"
+	system "cp -R ${worksrcpath}/dist/${name}.app ${appPath}/${name}.app"
 	set helpPath ${appPath}/${name}.app/Contents/Resources/English.lproj/${name}Help
 	xinstall -d -m 0755 ${helpPath}
-	xinstall -m 0644 Readme.txt ${helpPath}/Readme.txt
-	xinstall -m 0644 Readme.html ${helpPath}/Readme.html
+	xinstall -m 0644 -W ${worksrcpath} Readme.txt Readme.html ${helpPath}
 	xinstall -d -m 0755 ${helpPath}/images
-	foreach img [glob images/*] {
+	foreach img [glob -directory ${worksrcpath} images/*] {
 		xinstall -m 0644 $img ${helpPath}/$img
 	}
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080113/d79137e0/attachment.html


More information about the macports-changes mailing list