aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cricket
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-08-29 15:10:43 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-08-29 15:10:43 +0000
commit7a9584e08d10c29360031a0cf348280de147d37f (patch)
tree94c8ba57be83ba459e576c8d58b080a8d33b7bfd /net-mgmt/cricket
parent11ed143aa7b5c4cb61ad6eecf0d854cb40b1dfa3 (diff)
downloadports-7a9584e08d10c29360031a0cf348280de147d37f.tar.gz
ports-7a9584e08d10c29360031a0cf348280de147d37f.zip
Notes
Diffstat (limited to 'net-mgmt/cricket')
-rw-r--r--net-mgmt/cricket/Makefile10
-rw-r--r--net-mgmt/cricket/files/pkg-install.in (renamed from net-mgmt/cricket/pkg-install)7
2 files changed, 10 insertions, 7 deletions
diff --git a/net-mgmt/cricket/Makefile b/net-mgmt/cricket/Makefile
index 7dfbef6233af..d9e05e1378d8 100644
--- a/net-mgmt/cricket/Makefile
+++ b/net-mgmt/cricket/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cricket
PORTVERSION= 1.0.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -29,13 +29,13 @@ HAS_CONFIGURE= yes
USE_PERL5= yes
NO_BUILD= yes
PLIST_SUB+= VERSION=${PORTVERSION}
-SUB_FILES= pkg-message
+SUB_FILES= pkg-message pkg-install
+SUB_LIST= USER="${CRICKET_USER}" GROUP="${CRICKET_GROUP}" UID="${CRICKET_UID}" GID="${CRICKET_GID}"
CRICKET_USER?= wwwadm
CRICKET_UID?= 81
CRICKET_GROUP?= www
CRICKET_GID?= 80
USE_REINPLACE= yes
-PKGMESSAGE= ${WRKDIR}/pkg-message
post-patch:
@${REINPLACE_CMD} -e 's,/home/cricket,${PREFIX},g' \
@@ -44,9 +44,7 @@ post-patch:
${WRKSRC}/sample-config/news-server/Defaults
do-install:
- @PREFIX="${PREFIX}" USER="${CRICKET_USER}" GROUP="${CRICKET_GROUP}" \
- UID="${CRICKET_UID}" GID="${CRICKET_GID}" ${SH} \
- ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
+ @PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
@${MKDIR} -m 755 ${PREFIX}/cricket/cricket-${PORTVERSION}
@${CP} -R ${WRKSRC}/* ${PREFIX}/cricket/cricket-${PORTVERSION}
@${FIND} ${PREFIX}/cricket/cricket-${PORTVERSION} -name \*.orig -or \
diff --git a/net-mgmt/cricket/pkg-install b/net-mgmt/cricket/files/pkg-install.in
index 2dcfb0ade92d..871a2dbc437a 100644
--- a/net-mgmt/cricket/pkg-install
+++ b/net-mgmt/cricket/files/pkg-install.in
@@ -1,7 +1,12 @@
#!/bin/sh
-# $FreeBSD$
+# $FreeBSD: /tmp/pcvs/ports/net-mgmt/cricket/files/Attic/pkg-install.in,v 1.1 2005-08-29 15:10:43 vs Exp $
#
+GROUP=%%GROUP%%
+USER=%%USER%%
+UID=%%UID%%
+GID=%%GID%%
+
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi