aboutsummaryrefslogtreecommitdiff
path: root/lang/njs/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-07 18:34:07 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-07 18:34:07 +0000
commit281a55555a7d66ba836bf27f7eb1ad250cadafa4 (patch)
treeaee2285517dec3476da0b7107d9ebce773a63698 /lang/njs/Makefile
parentffdf5e4fc2c28121e636af8ef16c4715d166e533 (diff)
downloadports-281a55555a7d66ba836bf27f7eb1ad250cadafa4.tar.gz
ports-281a55555a7d66ba836bf27f7eb1ad250cadafa4.zip
PERL -> REINPLACE_CMD
PR: 40289 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=62590
Diffstat (limited to 'lang/njs/Makefile')
-rw-r--r--lang/njs/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index 24ee902d63c9..e5f5083cc18d 100644
--- a/lang/njs/Makefile
+++ b/lang/njs/Makefile
@@ -18,16 +18,16 @@ MAINTAINER= thierry@pompo.net
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+.if defined(NOPORTDOCS)
+USE_REINPLACE= yes
+.endif
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --enable-shared
MAN1= js.1 jsdas.1
post-extract:
- ${RM} ${WRKSRC}/docs/js.info*
-
-post-patch:
- ${PERL} -pi -e 's:=makeinfo:="makeinfo --no-split":g' ${WRKSRC}/configure
+ @${RM} ${WRKSRC}/docs/js.info*
pre-configure:
@if [ -f ${LOCALBASE}/include/js.h ]; then \
@@ -39,7 +39,7 @@ pre-configure:
pre-install:
.if defined(NOPORTDOCS)
- ${PERL} -pi -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile
.endif
post-install: