[89274] trunk/dports/tex/dot2texi

ryandesign at macports.org ryandesign at macports.org
Sun Jan 22 15:52:56 PST 2012


Revision: 89274
          http://trac.macports.org/changeset/89274
Author:   ryandesign at macports.org
Date:     2012-01-22 15:52:52 -0800 (Sun, 22 Jan 2012)
Log Message:
-----------
dot2texi: reinplace @@PREFIX@@ to ${prefix} and adjust patch to match

Modified Paths:
--------------
    trunk/dports/tex/dot2texi/Portfile
    trunk/dports/tex/dot2texi/files/patch-dot2texi-dot2texi.sty.diff

Modified: trunk/dports/tex/dot2texi/Portfile
===================================================================
--- trunk/dports/tex/dot2texi/Portfile	2012-01-22 23:28:06 UTC (rev 89273)
+++ trunk/dports/tex/dot2texi/Portfile	2012-01-22 23:52:52 UTC (rev 89274)
@@ -38,7 +38,7 @@
 
 patchfiles          patch-dot2texi-dot2texi.sty.diff
 post-patch {
-    reinplace s|@@PREFIX@@|${prefix}/bin| ${worksrcpath}/dot2texi/dot2texi.sty
+    reinplace s|@@PREFIX@@|${prefix}|g ${worksrcpath}/dot2texi/dot2texi.sty
 }
 
 use_configure   no

Modified: trunk/dports/tex/dot2texi/files/patch-dot2texi-dot2texi.sty.diff
===================================================================
--- trunk/dports/tex/dot2texi/files/patch-dot2texi-dot2texi.sty.diff	2012-01-22 23:28:06 UTC (rev 89273)
+++ trunk/dports/tex/dot2texi/files/patch-dot2texi-dot2texi.sty.diff	2012-01-22 23:52:52 UTC (rev 89274)
@@ -5,7 +5,7 @@
      \ifdtt at ShellEscape
          \IfFileExists{\dtt at figname.dot}{%
 -            \immediate\write18{dot2tex \dtt at output\space
-+            \immediate\write18{@@PREFIX@@/dot2tex \dtt at output\space
++            \immediate\write18{@@PREFIX@@/bin/dot2tex \dtt at output\space
                  \dtt at format\space
                  \dtt at tikzedgelabels\space
                  \dtt at straightedges\space
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120122/be657bb6/attachment-0001.html>


More information about the macports-changes mailing list