diff options
Diffstat (limited to 'print/latex2slides/Makefile')
-rw-r--r-- | print/latex2slides/Makefile | 5 |
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) |