aboutsummaryrefslogtreecommitdiff
path: root/print/tgif2tex/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-07-30 11:35:44 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-07-30 11:35:44 +0000
commit8c624b12018d733f108c62beca40f69fbdbc67d1 (patch)
treedc4754f23e5507e048fe80422a6a7adf4b19df57 /print/tgif2tex/Makefile
parent80d009be80a4f439740b4b403979134c1c15d974 (diff)
downloadports-8c624b12018d733f108c62beca40f69fbdbc67d1.tar.gz
ports-8c624b12018d733f108c62beca40f69fbdbc67d1.zip
Notes
Diffstat (limited to 'print/tgif2tex/Makefile')
-rw-r--r--print/tgif2tex/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/print/tgif2tex/Makefile b/print/tgif2tex/Makefile
index c754ced1ed9c..5e82535f4207 100644
--- a/print/tgif2tex/Makefile
+++ b/print/tgif2tex/Makefile
@@ -7,13 +7,15 @@
PORTNAME= tgif2tex
PORTVERSION= 2.13
+PORTREVISION= 1
CATEGORIES+= print
MASTER_SITES= http://www.fse.hiroshima-u.ac.jp/~nakano/tgif2tex/
MAINTAINER= hrs@FreeBSD.org
COMMENT= Converting texts in figure by tgif to LaTeX commands
-USE_PERL5= yes
+USE_PERL5_RUN= yes
+USE_REINPLACE= yes
DOCSRC= how-to-use.aux how-to-use.dvi \
how-to-use.log how-to-use.ps how-to-use.tex \
@@ -28,11 +30,10 @@ DOCSRC= how-to-use.aux how-to-use.dvi \
sample2.tex sample2.obj sample2.ps
do-build:
- @cd ${WRKSRC}; ${MV} tgif2tex tgif2tex.org; \
- ${SED} -e 's,/usr/local/X11R6/bin/tgif,${X11BASE}/bin/tgif,' \
- -e 's;^#! */usr/bin/perl *;#!${PERL5};' \
- -e 's,/usr/local,${PREFIX},' \
- tgif2tex.org > tgif2tex
+ ${REINPLACE_CMD} \
+ -e "s,%%LOCALBASE%%,${LOCALBASE}," \
+ -e "s,%%X11BASE%%,${X11BASE}," \
+ ${WRKSRC}/tgif2tex
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${PREFIX}/bin/tgif2tex