[29819] trunk/dports/print/gv/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 10 12:46:44 PDT 2007


Revision: 29819
          http://trac.macosforge.org/projects/macports/changeset/29819
Author:   ryandesign at macports.org
Date:     2007-10-10 12:46:43 -0700 (Wed, 10 Oct 2007)

Log Message:
-----------
gv: don't use 'cd' since MacPorts 1.6 won't support that anymore

Modified Paths:
--------------
    trunk/dports/print/gv/Portfile

Modified: trunk/dports/print/gv/Portfile
===================================================================
--- trunk/dports/print/gv/Portfile	2007-10-10 19:41:12 UTC (rev 29818)
+++ trunk/dports/print/gv/Portfile	2007-10-10 19:46:43 UTC (rev 29819)
@@ -24,10 +24,9 @@
 
 patchfiles      patch-config.Unix patch-setenv.c
 post-patch	{
-    cd ${worksrcpath}
-    reinplace "s|__PREFIX__|${prefix}|" config.Unix
-    reinplace "s|##aaa##|aaa|" source/paths.h
-    copy doc/gv.man source
+    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/config.Unix
+    reinplace "s|##aaa##|aaa|" ${worksrcpath}/source/paths.h
+    copy ${worksrcpath}/doc/gv.man ${worksrcpath}/source
 }
 
 use_xmkmf       yes
@@ -35,9 +34,8 @@
 destroot.target install install.man
 destroot.args   DOCHTMLDIR=${prefix}/share/doc/gv
 post-destroot	{
-    cd ${destroot}
-    move etc/X11 ${destroot}${prefix}/etc
-    delete usr
+    move ${destroot}/etc/X11 ${destroot}${prefix}/etc
+    delete ${destroot}/usr
 }
 
 variant letter {

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


More information about the macports-changes mailing list