Make this pkg behave like any other (real) package:
allow building of a binary package and deinstallation (as advertized :)
This commit is contained in:
parent
5ba169b700
commit
33ccb0ca82
3 changed files with 21 additions and 10 deletions
|
@ -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
|
DISTNAME= user-19991231
|
||||||
|
@ -16,12 +16,13 @@ ONLY_FOR_PLATFORM= NetBSD-*-* # already in Solaris base system
|
||||||
IGNORE= "is part of your NetBSD distribution"
|
IGNORE= "is part of your NetBSD distribution"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
LOCALBASE= /usr
|
|
||||||
NO_CONFIGURE= yes
|
NO_CONFIGURE= yes
|
||||||
NO_PKG_REGISTER= yes
|
|
||||||
NO_PACKAGE= No package registration is done
|
|
||||||
MANCOMPRESSED_IF_MANZ= yes
|
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"
|
.include "../../mk/bsd.pkg.mk"
|
||||||
|
|
|
@ -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
|
MD5 (patch-aa) = 737cbe22390001687743d8964829fd4b
|
||||||
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.
|
|
||||||
|
|
13
sysutils/user/patches/patch-aa
Normal file
13
sysutils/user/patches/patch-aa
Normal file
|
@ -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,
|
Loading…
Reference in a new issue