[32684] trunk/dports/graphics/gocr/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jan 10 23:18:07 PST 2008


Revision: 32684
          http://trac.macosforge.org/projects/macports/changeset/32684
Author:   ryandesign at macports.org
Date:     2008-01-10 23:18:05 -0800 (Thu, 10 Jan 2008)

Log Message:
-----------
gocr: don't use deprecated 'cd' command

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

Modified: trunk/dports/graphics/gocr/Portfile
===================================================================
--- trunk/dports/graphics/gocr/Portfile	2008-01-11 07:10:51 UTC (rev 32683)
+++ trunk/dports/graphics/gocr/Portfile	2008-01-11 07:18:05 UTC (rev 32684)
@@ -22,9 +22,8 @@
 destroot.destdir	DESTDIR=${destroot}${prefix}
 
 post-destroot		{
-	cd ${worksrcpath}
 	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 0644 README REMARK.txt AUTHORS CREDITS HISTORY BUGS TODO ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 0644 -W ${worksrcpath} README REMARK.txt AUTHORS CREDITS HISTORY BUGS TODO ${destroot}${prefix}/share/doc/${name}
 
 	file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
 	file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}

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


More information about the macports-changes mailing list