diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-24 04:44:17 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-24 04:44:17 +0000 |
commit | 7ef18f14299563025b37cc14ad88ee23667cf783 (patch) | |
tree | 28778dac4b4bd95a8dddcdd306c27fb2b47a1448 /textproc | |
parent | 3f33af92d9829ce9d687e40c494369892fe87192 (diff) | |
download | ports-7ef18f14299563025b37cc14ad88ee23667cf783.tar.gz ports-7ef18f14299563025b37cc14ad88ee23667cf783.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/docbook-to-man/Makefile | 3 | ||||
-rw-r--r-- | textproc/gsed/Makefile | 5 |
2 files changed, 4 insertions, 4 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> diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile index 82610ad75613..ca083b665b64 100644 --- a/textproc/gsed/Makefile +++ b/textproc/gsed/Makefile @@ -17,10 +17,9 @@ MAINTAINER= cyrille.lefevre@laposte.net # Global variables # +USE_REINPLACE= yes GNU_CONFIGURE= yes USE_GMAKE= yes -# PREFIX isn't honored. force it w/ prefix. -MAKE_ARGS= prefix=${PREFIX} MAN1= gsed.1 @@ -39,7 +38,7 @@ post-configure: patch-makefiles patch-makefiles: .for subdir in ${PATCH_SUBDIRS} - @${PERL} -pi.fbsd -e 's/s,x,x,/s,^,g,/' ${WRKSRC}/${subdir}/Makefile + @${REINPLACE_CMD} -e 's|s,x,x,|s,^,g,|' ${WRKSRC}/${subdir}/Makefile .endfor # Post-install |