aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-15 17:54:30 +0800
committervs <vs@FreeBSD.org>2005-04-15 17:54:30 +0800
commitb3b2bd2519c4fefb6d729355447cf713c9ad2c4b (patch)
tree4e24799c68903398506cd8304516e722e6306e9b /net-mgmt
parent99d271360abe8b4b96f279b1ca4a9f35a028ff45 (diff)
downloadfreebsd-ports-gnome-b3b2bd2519c4fefb6d729355447cf713c9ad2c4b.tar.gz
freebsd-ports-gnome-b3b2bd2519c4fefb6d729355447cf713c9ad2c4b.tar.zst
freebsd-ports-gnome-b3b2bd2519c4fefb6d729355447cf713c9ad2c4b.zip
Use SUB_FILES instead of home-grown SED-incantation
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/cricket/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/net-mgmt/cricket/Makefile b/net-mgmt/cricket/Makefile
index 9e33e6e7513b..7dfbef6233af 100644
--- a/net-mgmt/cricket/Makefile
+++ b/net-mgmt/cricket/Makefile
@@ -29,6 +29,7 @@ HAS_CONFIGURE= yes
USE_PERL5= yes
NO_BUILD= yes
PLIST_SUB+= VERSION=${PORTVERSION}
+SUB_FILES= pkg-message
CRICKET_USER?= wwwadm
CRICKET_UID?= 81
CRICKET_GROUP?= www
@@ -41,8 +42,6 @@ post-patch:
${WRKSRC}/cricket-conf.pl.sample
@${REINPLACE_CMD} -e 's,/usr/local/net/bin/ssh,/usr/bin/ssh,g' \
${WRKSRC}/sample-config/news-server/Defaults
- @${SED} -e 's,%%PREFIX%%,${PREFIX},' ${FILESDIR}/pkg-message.in > \
- ${PKGMESSAGE}
do-install:
@PREFIX="${PREFIX}" USER="${CRICKET_USER}" GROUP="${CRICKET_GROUP}" \