[40567] trunk/dports/graphics/xpdf/Portfile

jmr at macports.org jmr at macports.org
Mon Oct 6 21:29:59 PDT 2008


Revision: 40567
          http://trac.macports.org/changeset/40567
Author:   jmr at macports.org
Date:     2008-10-06 21:29:59 -0700 (Mon, 06 Oct 2008)
Log Message:
-----------
xpdf: remove use of cd

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

Modified: trunk/dports/graphics/xpdf/Portfile
===================================================================
--- trunk/dports/graphics/xpdf/Portfile	2008-10-07 04:24:45 UTC (rev 40566)
+++ trunk/dports/graphics/xpdf/Portfile	2008-10-07 04:29:59 UTC (rev 40567)
@@ -56,7 +56,6 @@
 }
 
 post-patch {
-##    cd ${worksrcpath}
     reinplace "s|/usr/local|${prefix}|g" \
         ${worksrcpath}/doc/sample-xpdfrc ${worksrcpath}/xpdf/GlobalParams.cc
 }
@@ -91,10 +90,9 @@
 variant with_poppler {
 	depends_run-append port:poppler
 	post-destroot {
-		cd ${destroot}${prefix}
 		foreach i { pdffonts pdfimages pdfinfo pdftoppm pdftops pdftotext } {
-			file delete bin/$i
-			file delete share/man/man1/$i.1
+			delete ${destroot}${prefix}/bin/${i}
+			delete ${destroot}${prefix}/share/man/man1/${i}.1
 		}
 	}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081006/3bdec291/attachment.html 


More information about the macports-changes mailing list