diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-11-03 15:57:25 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-11-03 15:57:25 +0800 |
commit | 887936c0aca5fecc8801465097bad4385deb32c0 (patch) | |
tree | 66683b6d6a4f874aae96b4b2d1cd0b27c90935f0 /www/frontpage | |
parent | f81d4dfcdbe916767c4caa75f45b3036ef6c0f81 (diff) | |
download | freebsd-ports-gnome-887936c0aca5fecc8801465097bad4385deb32c0.tar.gz freebsd-ports-gnome-887936c0aca5fecc8801465097bad4385deb32c0.tar.zst freebsd-ports-gnome-887936c0aca5fecc8801465097bad4385deb32c0.zip |
use REINPLACE_CMD/USE_REINPLACE
PR: 44844
Submitted by: maintainer
Diffstat (limited to 'www/frontpage')
-rw-r--r-- | www/frontpage/Makefile | 7 |
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 |