diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-01-13 17:31:14 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-01-13 17:31:14 +0000 |
commit | 33ccb0ca82ac474a353b921c40700d2cdc6ee8c7 (patch) | |
tree | 4df17e3f80c9b252a997908094c97289b263170b | |
parent | 5ba169b700b88fa32bb76dab637990495f2b6952 (diff) | |
download | pkgsrc-33ccb0ca82ac474a353b921c40700d2cdc6ee8c7.tar.gz |
Make this pkg behave like any other (real) package:
allow building of a binary package and deinstallation (as advertized :)
-rw-r--r-- | sysutils/user/Makefile | 11 | ||||
-rw-r--r-- | sysutils/user/files/patch-sum | 7 | ||||
-rw-r--r-- | sysutils/user/patches/patch-aa | 13 |
3 files changed, 21 insertions, 10 deletions
diff --git a/sysutils/user/Makefile b/sysutils/user/Makefile index 3ef51a66878..698b4a6f449 100644 --- a/sysutils/user/Makefile +++ b/sysutils/user/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2000/01/10 12:08:52 agc Exp $ +# $NetBSD: Makefile,v 1.5 2000/01/13 17:31:14 hubertf Exp $ # DISTNAME= user-19991231 @@ -16,12 +16,13 @@ ONLY_FOR_PLATFORM= NetBSD-*-* # already in Solaris base system IGNORE= "is part of your NetBSD distribution" .endif -LOCALBASE= /usr NO_CONFIGURE= yes -NO_PKG_REGISTER= yes -NO_PACKAGE= No package registration is done MANCOMPRESSED_IF_MANZ= yes -MAKE_ENV+= BINDIR=/usr/sbin MANDIR=/usr/share/man +MAKE_ENV+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man \ + FILESDIR=${PREFIX}/share/examples/usermgmt + +pre-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/usermgmt .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/user/files/patch-sum b/sysutils/user/files/patch-sum index e72cdbb77a3..b04d8aef368 100644 --- a/sysutils/user/files/patch-sum +++ b/sysutils/user/files/patch-sum @@ -1,6 +1,3 @@ -$NetBSD: patch-sum,v 1.2 2000/01/03 22:08:58 agc Exp $ +$NetBSD: patch-sum,v 1.3 2000/01/13 17:31:15 hubertf Exp $ -This placeholder file is generated by the ``makepatchsum'' target -whenever the patches directory is empty or missing. Its purpose -is to ensure that the presence of any obsolete patches will cause -the proper error to be emitted at build time. +MD5 (patch-aa) = 737cbe22390001687743d8964829fd4b diff --git a/sysutils/user/patches/patch-aa b/sysutils/user/patches/patch-aa new file mode 100644 index 00000000000..7c62de00be2 --- /dev/null +++ b/sysutils/user/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.3 2000/01/13 17:31:16 hubertf Exp $ + +--- Makefile.BAK Thu Jan 13 18:05:29 2000 ++++ Makefile Thu Jan 13 18:05:54 2000 +@@ -30,7 +30,7 @@ + FILESNAME_dot.cshrc= .cshrc + FILESNAME_dot.login= .login + FILESNAME_dot.profile= .profile +-FILESDIR= /usr/share/examples/usermgmt ++FILESDIR?= /usr/share/examples/usermgmt + .endif + + # this target checks the built-in default group, and, if it doesn't exist, |