summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2000-12-16 18:54:41 +0000
committerkim <kim@pkgsrc.org>2000-12-16 18:54:41 +0000
commit57b66b0a43dad32a2ad53ca32cb79e12753707b3 (patch)
tree782379d31166a3bf5d912e555f49310912aa1d7f /sysutils
parentccc3a0d76283927eac69ca0d9782bb5ab9d439e1 (diff)
downloadpkgsrc-57b66b0a43dad32a2ad53ca32cb79e12753707b3.tar.gz
Fix manual page handling.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/user/Makefile14
-rw-r--r--sysutils/user/pkg/PLIST22
-rw-r--r--sysutils/user/pkg/PLIST.catinstall11
-rw-r--r--sysutils/user/pkg/PLIST.maninstall11
4 files changed, 36 insertions, 22 deletions
diff --git a/sysutils/user/Makefile b/sysutils/user/Makefile
index f1af54a3de6..85b2d1670cd 100644
--- a/sysutils/user/Makefile
+++ b/sysutils/user/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2000/08/21 21:01:33 hubertf Exp $
+# $NetBSD: Makefile,v 1.10 2000/12/16 18:54:41 kim Exp $
#
# Note to package maintainers:
@@ -23,10 +23,22 @@ IGNORE= "${PKGNAME} is part of your NetBSD distribution"
NO_CONFIGURE= yes
MANCOMPRESSED_IF_MANZ= yes
+PLIST_SRC= ${WRKDIR}/PLIST
+
MAKE_ENV+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man \
FILESDIR=${PREFIX}/share/examples/usermgmt
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/usermgmt
+post-install:
+ @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ @for OPT in ${MANINSTALL} broken-solaris-needs-this; do \
+ case $$OPT in \
+ catinstall|maninstall) \
+ ${CAT} ${PKGDIR}/PLIST.$$OPT >>${PLIST_SRC}; \
+ ;; \
+ esac; \
+ done
+
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/user/pkg/PLIST b/sysutils/user/pkg/PLIST
index e31efcead01..e48af30c8fd 100644
--- a/sysutils/user/pkg/PLIST
+++ b/sysutils/user/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2000/01/03 22:08:59 agc Exp $
+@comment $NetBSD: PLIST,v 1.3 2000/12/16 18:54:41 kim Exp $
sbin/user
sbin/useradd
sbin/userdel
@@ -9,26 +9,6 @@ sbin/groupadd
sbin/groupdel
sbin/groupinfo
sbin/groupmod
-man/cat8/user.0
-man/cat8/useradd.0
-man/cat8/userdel.0
-man/cat8/userinfo.0
-man/cat8/usermod.0
-man/cat8/group.0
-man/cat8/groupadd.0
-man/cat8/groupdel.0
-man/cat8/groupinfo.0
-man/cat8/groupmod.0
-man/man8/user.8
-man/man8/useradd.8
-man/man8/userdel.8
-man/man8/userinfo.8
-man/man8/usermod.8
-man/man8/group.8
-man/man8/groupadd.8
-man/man8/groupdel.8
-man/man8/groupinfo.8
-man/man8/groupmod.8
share/examples/usermgmt/.cshrc
share/examples/usermgmt/.login
share/examples/usermgmt/.profile
diff --git a/sysutils/user/pkg/PLIST.catinstall b/sysutils/user/pkg/PLIST.catinstall
new file mode 100644
index 00000000000..1b67d3af6c9
--- /dev/null
+++ b/sysutils/user/pkg/PLIST.catinstall
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST.catinstall,v 1.1 2000/12/16 18:54:42 kim Exp $
+man/cat8/user.0
+man/cat8/useradd.0
+man/cat8/userdel.0
+man/cat8/userinfo.0
+man/cat8/usermod.0
+man/cat8/group.0
+man/cat8/groupadd.0
+man/cat8/groupdel.0
+man/cat8/groupinfo.0
+man/cat8/groupmod.0
diff --git a/sysutils/user/pkg/PLIST.maninstall b/sysutils/user/pkg/PLIST.maninstall
new file mode 100644
index 00000000000..3ef69aead7c
--- /dev/null
+++ b/sysutils/user/pkg/PLIST.maninstall
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST.maninstall,v 1.1 2000/12/16 18:54:42 kim Exp $
+man/man8/user.8
+man/man8/useradd.8
+man/man8/userdel.8
+man/man8/userinfo.8
+man/man8/usermod.8
+man/man8/group.8
+man/man8/groupadd.8
+man/man8/groupdel.8
+man/man8/groupinfo.8
+man/man8/groupmod.8