aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-06-23 20:56:43 +0000
committerPatrick Li <pat@FreeBSD.org>2002-06-23 20:56:43 +0000
commitcb1a5fa9770b4cde07ae2f61deeac6cf905c289c (patch)
treef74865e0f62296d8ada1a7f02367fd8e8a2ffe67 /print
parent3429beb3d69bf05cc09137cac5b420f8e26b86db (diff)
downloadports-cb1a5fa9770b4cde07ae2f61deeac6cf905c289c.tar.gz
ports-cb1a5fa9770b4cde07ae2f61deeac6cf905c289c.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/latex2slides/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/print/latex2slides/Makefile b/print/latex2slides/Makefile
index 8afc427d048c..acb43a75d98f 100644
--- a/print/latex2slides/Makefile
+++ b/print/latex2slides/Makefile
@@ -19,6 +19,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinte
dvips:${PORTSDIR}/print/teTeX \
convert:${PORTSDIR}/graphics/ImageMagick
+USE_REINPLACE= yes
USE_PYTHON= yes
NO_BUILD= yes
@@ -26,9 +27,9 @@ MANCOMPRESSED= yes
MAN1= latex2slides.1
post-patch:
- @${PERL} -pi -e "s,/usr,${PREFIX},g ; \
+ @${REINPLACE_CMD} -e "s,/usr,${PREFIX},g ; \
s,share/man,man,g" ${WRKSRC}/install
- @${PERL} -pi -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/latex2slides
+ @${REINPLACE_CMD} -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/latex2slides
do-install:
@(cd ${WRKSRC} ; ${PYTHON_CMD} ./install)