summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-07 18:34:07 +0000
committerijliao <ijliao@FreeBSD.org>2002-07-07 18:34:07 +0000
commit20d7c439c89cfb1fd40c3bbb5acee4391061a7f4 (patch)
treed77b98d157dd1c66caa826d00a75a8d28b5348aa /misc
parentacdac520ff4ea85759b33e3903f052541cdcccbc (diff)
downloadFreeBSD-ports-20d7c439c89cfb1fd40c3bbb5acee4391061a7f4.zip
FreeBSD-ports-20d7c439c89cfb1fd40c3bbb5acee4391061a7f4.tar.gz
PERL -> REINPLACE_CMD
PR: 40289 Submitted by: maintainer
Diffstat (limited to 'misc')
-rw-r--r--misc/libmcal/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/libmcal/Makefile b/misc/libmcal/Makefile
index 0e02d63..063d2a9 100644
--- a/misc/libmcal/Makefile
+++ b/misc/libmcal/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= ltdl.1:${PORTSDIR}/devel/libtool
HAS_CONFIGURE= yes
USE_LIBTOOL= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
CONFIGURE_ARGS= --with-mstore --with-icap \
--prefix=${PREFIX} --exec-prefix=${PREFIX}
INSTALLS_SHLIB= yes
@@ -43,7 +44,7 @@ post-extract:
${MV} ${WRKSRC}/mstore/README ${WRKSRC}/mstore/README.mstore
post-patch:
- ${PERL} -pi -e "s:/etc/mpasswd:${PREFIX}/etc/mpasswd:" ${WRKSRC}/mstore/mstore.c
+ ${REINPLACE_CMD} -e "s:/etc/mpasswd:${PREFIX}/etc/mpasswd:" ${WRKSRC}/mstore/mstore.c
pre-configure:
@${ECHO_MSG} "===> Building the driver mstore"
@@ -55,8 +56,10 @@ pre-configure:
post-install:
.if !defined(NOPORTDOCS)
- ${PERL} -pi -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:" ${WRKSRC}/FAQ-MCAL
- ${PERL} -pi -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:" ${WRKSRC}/mstore/README.mstore
+ ${REINPLACE_CMD} -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:" \
+ ${WRKSRC}/FAQ-MCAL
+ ${REINPLACE_CMD} -e "s:/etc/mpasswd:${LOCALBASE}/etc/mpasswd:" \
+ ${WRKSRC}/mstore/README.mstore
${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
OpenPOWER on IntegriCloud