aboutsummaryrefslogtreecommitdiffstats
path: root/print/tgif2tex
diff options
context:
space:
mode:
Diffstat (limited to 'print/tgif2tex')
-rw-r--r--print/tgif2tex/Makefile1
-rw-r--r--print/tgif2tex/files/patch-tgif2tex4
2 files changed, 2 insertions, 3 deletions
diff --git a/print/tgif2tex/Makefile b/print/tgif2tex/Makefile
index 463942f0cfe8..0b5d81bc955c 100644
--- a/print/tgif2tex/Makefile
+++ b/print/tgif2tex/Makefile
@@ -31,7 +31,6 @@ DOCSRC= how-to-use.aux how-to-use.dvi \
do-build:
${REINPLACE_CMD} \
-e "s,%%LOCALBASE%%,${LOCALBASE}," \
- -e "s,%%X11BASE%%,${X11BASE}," \
${WRKSRC}/tgif2tex
do-install:
diff --git a/print/tgif2tex/files/patch-tgif2tex b/print/tgif2tex/files/patch-tgif2tex
index b9aee146d01d..3b24e1af4fd2 100644
--- a/print/tgif2tex/files/patch-tgif2tex
+++ b/print/tgif2tex/files/patch-tgif2tex
@@ -10,11 +10,11 @@
-$pnm_command='/usr/bin/gs -sDEVICE=pnmraw -sOutputFile=- -sNOPAUSE -dBATCH -q -r400';
-$convert_command='/usr/bin/pnmcrop | /usr/bin/pnmmargin -white 10 | /usr/bin/convert - ';
+$LOCALBASE='%%LOCALBASE%%';
-+$X11BASE='%%X11BASE%%';
++$LOCALBASE='%%LOCALBASE%%';
+
+$latex_command="${LOCALBASE}/bin/platex"; # latex command in your site.
+$dvips_command="${LOCALBASE}/bin/dvips";
-+$tgif_command="${X11BASE}/bin/tgif";
++$tgif_command="${LOCALBASE}/bin/tgif";
+$pnm_command="${LOCALBASE}/bin/gs -sDEVICE=pnmraw -sOutputFile=- -sNOPAUSE -dBATCH -q -r400";
+$convert_command="${LOCALBASE}/bin/pnmcrop | ${LOCALBASE}/bin/pnmmargin -white 10 | ${LOCALBASE}/bin/convert - ";