aboutsummaryrefslogtreecommitdiffstats
path: root/security/fwanalog/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 10:18:21 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 10:18:21 +0800
commitae62427d6d6725d1b89cb124a2b9df1780c3a6c0 (patch)
treef0efb79e0c88be76c10e56726918e912cd25d55e /security/fwanalog/Makefile
parentf05d483448ee76fcaf403ea38e32d322986c8073 (diff)
downloadfreebsd-ports-gnome-ae62427d6d6725d1b89cb124a2b9df1780c3a6c0.tar.gz
freebsd-ports-gnome-ae62427d6d6725d1b89cb124a2b9df1780c3a6c0.tar.zst
freebsd-ports-gnome-ae62427d6d6725d1b89cb124a2b9df1780c3a6c0.zip
PERL -> REINPLACE
Noticed on: bento
Diffstat (limited to 'security/fwanalog/Makefile')
-rw-r--r--security/fwanalog/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/fwanalog/Makefile b/security/fwanalog/Makefile
index cc4da4d9c535..9a8f334a6a5d 100644
--- a/security/fwanalog/Makefile
+++ b/security/fwanalog/Makefile
@@ -14,6 +14,7 @@ MAINTAINER= cy@FreeBSD.org
RUN_DEPENDS= analog:${PORTSDIR}/www/analog
+USE_REINPLACE= yes
ETCDIR= ${PREFIX}/etc/${PORTNAME}
PLIST_SUB+= ETCDIR=${ETCDIR}
CONFFILES= fwanalog-dom.tab \
@@ -24,10 +25,11 @@ CONFFILES= fwanalog-dom.tab \
services.conf
post-patch:
- ${PERL} -pi -e "s,the script's directory.*$$,${ETCDIR},;" \
+ ${REINPLACE_CMD} \
+ -e "s,the script's directory.*$$,${ETCDIR},;" \
-e 's,cd .*$$,cd ${ETCDIR},; s,sh\$$/,\$$/.,' \
${WRKSRC}/fwanalog.sh
- ${PERL} -pi -e 's/"freebsd/"ipf/; s/"ipflog/"messages/' \
+ ${REINPLACE_CMD} -e 's/"freebsd/"ipf/; s/"ipflog/"messages/' \
${WRKSRC}/fwanalog.opts.freebsd
do-build: