summaryrefslogtreecommitdiff
path: root/textproc/docbook-to-man/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-24 04:44:17 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-24 04:44:17 +0000
commit7ef18f14299563025b37cc14ad88ee23667cf783 (patch)
tree28778dac4b4bd95a8dddcdd306c27fb2b47a1448 /textproc/docbook-to-man/Makefile
parentFix properly for building under -current (diff)
${PERL} -> ${REINPLACE_CMD}
PR: 39746 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Diffstat (limited to 'textproc/docbook-to-man/Makefile')
-rw-r--r--textproc/docbook-to-man/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/docbook-to-man/Makefile b/textproc/docbook-to-man/Makefile
index 5a591b48df7d..8ff3a5939b6b 100644
--- a/textproc/docbook-to-man/Makefile
+++ b/textproc/docbook-to-man/Makefile
@@ -35,6 +35,7 @@ RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade
.endif
RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook:${PORTSDIR}/textproc/docbook
+USE_REINPLACE= yes
USE_IMAKE= yes
USE_X_PREFIX= no
USE_XLIB= yes
@@ -65,7 +66,7 @@ move-instant.1:
post-patch: patch-docbook-to-man
patch-docbook-to-man:
- @${PERL} -pi.fbsd -e 's|%%PREFIX%%|${PREFIX}|;s|%%NSGMLS%%|${NSGMLS}|' \
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|;s|%%NSGMLS%%|${NSGMLS}|' \
${WRKSRC}/cmd/docbook-to-man.sh
.include <bsd.port.post.mk>