[32857] trunk/dports/graphics/gdsreader/Portfile

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


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

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

Modified Paths:
--------------
    trunk/dports/graphics/gdsreader/Portfile

Modified: trunk/dports/graphics/gdsreader/Portfile
===================================================================
--- trunk/dports/graphics/gdsreader/Portfile	2008-01-14 06:20:39 UTC (rev 32856)
+++ trunk/dports/graphics/gdsreader/Portfile	2008-01-14 06:21:22 UTC (rev 32857)
@@ -30,11 +30,10 @@
 test.post_args	-p test.ps -H test.hpgl > test.stdout
 
 destroot {
-	cd ${worksrcpath}
 	xinstall -d -m 0755 ${destroot}${prefix}/bin
-	xinstall -m 0755 gdsreader ${destroot}${prefix}/bin
+	xinstall -m 0755 -W ${worksrcpath} gdsreader ${destroot}${prefix}/bin
 	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 0644 ChangeLog README layers.config test.gds \
+	xinstall -m 0644 -W ${worksrcpath} ChangeLog README layers.config test.gds \
 		${destroot}${prefix}/share/doc/${name}
 }
 

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


More information about the macports-changes mailing list