diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
commit | 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch) | |
tree | d573ea09b2bf6be67cb497df199932da9e2707c4 /print/tgif2tex | |
parent | 40049f4af2200d0dcf33596508688623fc75f764 (diff) | |
download | ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip |
Notes
Diffstat (limited to 'print/tgif2tex')
-rw-r--r-- | print/tgif2tex/Makefile | 1 | ||||
-rw-r--r-- | print/tgif2tex/files/patch-tgif2tex | 4 |
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 - "; |