aboutsummaryrefslogtreecommitdiff
path: root/www/frontpage
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-03 07:57:25 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-03 07:57:25 +0000
commitde1ea9ab38d6e00df5af167648a75646019fa621 (patch)
tree1d0f067cca9e1c1596ac78f103b8190fd15807e0 /www/frontpage
parentc37531fcc3cb8d0a2cfaad63525028a3e8541fd4 (diff)
downloadports-de1ea9ab38d6e00df5af167648a75646019fa621.tar.gz
ports-de1ea9ab38d6e00df5af167648a75646019fa621.zip
Notes
Diffstat (limited to 'www/frontpage')
-rw-r--r--www/frontpage/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/frontpage/Makefile b/www/frontpage/Makefile
index 395d92bd31b2..47ebd8f8fc65 100644
--- a/www/frontpage/Makefile
+++ b/www/frontpage/Makefile
@@ -17,6 +17,8 @@ MAINTAINER= hetzels@westbend.net
.include <bsd.port.pre.mk>
+USE_REINPLACE= yes
+
ONLY_FOR_ARCHS= i386 alpha
FP_VER= 5.0
@@ -107,14 +109,13 @@ post-extract:
post-patch:
.if !defined(PATCH_DEBUG)
- @${PERL} -pi -e 's:PREFIX:${PREFIX}:g ; \
- s:MOD_FPDOCDIR:${MOD_FPDOCDIR}:g' ${WRKDIR}/${FPINSTALL}
+ @${REINPLACE_CMD} -e 's:PREFIX:${PREFIX}:g' ${WRKDIR}/${FPINSTALL}
.endif
do-install:
@${ECHO_MSG} "===> Untaring FrontPage Extensions to ${PREFIX}"
@(cd ${PREFIX} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${FRONTPAGE} ${EXTRACT_AFTER_ARGS})
- @${PERL} -pi -e 's:IMAGESDIR:../images/:g' ${PREFIX}/${FPCSS}
+ @${REINPLACE_CMD} -e 's:IMAGESDIR:../images/:g' ${PREFIX}/${FPCSS}
@${RM} ${PREFIX}/${FPHTTPD}/httpd
@${MKDIR} ${MOD_FPDOCDIR}
@${CP} ${PREFIX}/${README} ${MOD_FPDOCDIR}/index.html