[96720] trunk/dports/print/transfig/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Aug 17 15:07:10 PDT 2012


Revision: 96720
          https://trac.macports.org/changeset/96720
Author:   ryandesign at macports.org
Date:     2012-08-17 15:07:10 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
transfig: simplify post-patch by combining multiple reinplaces

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

Modified: trunk/dports/print/transfig/Portfile
===================================================================
--- trunk/dports/print/transfig/Portfile	2012-08-17 22:06:02 UTC (rev 96719)
+++ trunk/dports/print/transfig/Portfile	2012-08-17 22:07:10 UTC (rev 96720)
@@ -43,12 +43,12 @@
 }
 
 post-patch {
-    reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/fig2dev/Imakefile
-    reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/fig2dev/Imakefile
-    reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/fig2dev/dev/Imakefile
-    reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/fig2dev/dev/Imakefile
-    reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/transfig/Imakefile
-    reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/transfig/Imakefile
+    reinplace "s|__PREFIX|${prefix}|g"  ${worksrcpath}/fig2dev/Imakefile \
+                                        ${worksrcpath}/fig2dev/dev/Imakefile \
+                                        ${worksrcpath}/transfig/Imakefile
+    reinplace "s|__DESTROOT|${destroot}|g"  ${worksrcpath}/fig2dev/Imakefile \
+                                            ${worksrcpath}/fig2dev/dev/Imakefile \
+                                            ${worksrcpath}/transfig/Imakefile
 }
 
 use_xmkmf           yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/65ee3b24/attachment-0001.html>


More information about the macports-changes mailing list