diff options
author | kim <kim> | 2000-12-16 18:54:41 +0000 |
---|---|---|
committer | kim <kim> | 2000-12-16 18:54:41 +0000 |
commit | a145b683ed93929b246437df43d8eada8334d70c (patch) | |
tree | 782379d31166a3bf5d912e555f49310912aa1d7f | |
parent | d1d581cf2df221b4f3e3056481e3175910793b68 (diff) | |
download | pkgsrc-a145b683ed93929b246437df43d8eada8334d70c.tar.gz |
Fix manual page handling.
-rw-r--r-- | sysutils/user/Makefile | 14 | ||||
-rw-r--r-- | sysutils/user/pkg/PLIST | 22 | ||||
-rw-r--r-- | sysutils/user/pkg/PLIST.catinstall | 11 | ||||
-rw-r--r-- | sysutils/user/pkg/PLIST.maninstall | 11 |
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 |