summaryrefslogtreecommitdiff
path: root/misc
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 /misc
parentTie in gnomeuserdocs2. Bump PORTREVISION. (diff)
PERL -> REINPLACE_CMD
PR: 40289 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=62590
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 0e02d634d1d4..063d2a90db7b 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}