summaryrefslogtreecommitdiff
path: root/textproc/docbook-to-man/Makefile
diff options
context:
space:
mode:
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>