aboutsummaryrefslogtreecommitdiffstats
path: root/security/fwlogwatch
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-06-24 04:39:23 +0800
committerpat <pat@FreeBSD.org>2002-06-24 04:39:23 +0800
commit68d2ede20fe929082f7b63b1201632f02303de36 (patch)
tree7e1b667a7934284fdee094f1247ef35f0b6ea264 /security/fwlogwatch
parentf7ba4a230537a78bfca3bc8765e6ad35ec5d318d (diff)
downloadfreebsd-ports-gnome-68d2ede20fe929082f7b63b1201632f02303de36.tar.gz
freebsd-ports-gnome-68d2ede20fe929082f7b63b1201632f02303de36.tar.zst
freebsd-ports-gnome-68d2ede20fe929082f7b63b1201632f02303de36.zip
PERL -> REINPLACE_CMD
PR: ports/39729, ports/39727, ports/39726, ports/39724 PR: ports/39722, ports/39721, ports/39720, ports/39719, ports/39718 Submitted by: Scott Flatman <sf@dsinw.com>
Diffstat (limited to 'security/fwlogwatch')
-rw-r--r--security/fwlogwatch/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/fwlogwatch/Makefile b/security/fwlogwatch/Makefile
index 024ccfe06100..9c61f8ff6793 100644
--- a/security/fwlogwatch/Makefile
+++ b/security/fwlogwatch/Makefile
@@ -16,18 +16,19 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
+USE_REINPLACE= yes
INSTALL_TARGET= install install-config install-i18n
MANCOMPRESSES= no
MAN8= fwlogwatch.8
MAKE_ENV= MKDIR="${MKDIR}"
post-patch:
- @${PERL} -pi -e 's,/etc,${PREFIX}/etc,g; \
+ @${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g; \
s,/usr/local,${PREFIX},g; \
s,/usr/share,${PREFIX}/share,g; \
s,%%LOCALBASE%%,${LOCALBASE},g' \
${WRKSRC}/Makefile ${WRKSRC}/main.h
- @${PERL} -pi -e "s,/etc,${PREFIX}/etc,g" ${WRKSRC}/${MAN8}
+ @${REINPLACE_CMD} -e "s,/etc,${PREFIX}/etc,g" ${WRKSRC}/${MAN8}
post-install:
@${INSTALL_SCRIPT} ${FILESDIR}/fwlogwatch.sh.sample ${PREFIX}/etc/rc.d