summaryrefslogtreecommitdiff
path: root/net/userppp
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-08-12 12:14:40 +0000
committeragc <agc@pkgsrc.org>2002-08-12 12:14:40 +0000
commit2d0d14a02a6340c5a5b63ec56ee101fe6ef9320e (patch)
tree871f0df9bec14cbb167c2ba764eacadb103a89f9 /net/userppp
parenta23537390256967d79651c180898aa0347335c66 (diff)
downloadpkgsrc-2d0d14a02a6340c5a5b63ec56ee101fe6ef9320e.tar.gz
Use the standard pkgsrc mechanism for creating the group.
Diffstat (limited to 'net/userppp')
-rw-r--r--net/userppp/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/net/userppp/Makefile b/net/userppp/Makefile
index edbbdf4fa6c..19de1a15dec 100644
--- a/net/userppp/Makefile
+++ b/net/userppp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2001/03/26 21:26:25 zuntum Exp $
+# $NetBSD: Makefile,v 1.9 2002/08/12 12:14:40 agc Exp $
DISTNAME= ppp-001107.src
PKGNAME= userppp-001107
@@ -22,8 +22,12 @@ post-patch:
$$i > $$i.done; ${MV} $$i.done $$i; \
done)
-pre-install:
- ${GREP} "^network:" /etc/group >/dev/null || \
- /usr/sbin/groupadd -g 40 network
+.include "../../mk/bsd.prefs.mk"
+USERPPP_GROUP?= network
+BUILD_DEFS+= USERPPP_GROUP
+
+PKG_GROUPS= ${USERPPP_GROUP}
+
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"