diff options
author | kim <kim> | 2000-09-04 14:53:13 +0000 |
---|---|---|
committer | kim <kim> | 2000-09-04 14:53:13 +0000 |
commit | 8c662e7382340350e1b5573cf770c05551165b2d (patch) | |
tree | 4c809f221508b0559416210515e5399e95241bad /misc | |
parent | 9ced588a1a20d7fb86e56ff24c08055623406301 (diff) | |
download | pkgsrc-8c662e7382340350e1b5573cf770c05551165b2d.tar.gz |
Create PLIST so that it matches the setting of MANINSTALL.
This makes the registration accurate and allows creating
a binary package (since all registered files will exist).
Diffstat (limited to 'misc')
-rw-r--r-- | misc/team/Makefile | 19 | ||||
-rw-r--r-- | misc/team/pkg/PLIST | 4 |
2 files changed, 18 insertions, 5 deletions
diff --git a/misc/team/Makefile b/misc/team/Makefile index 69d99dcaa5f..2030738fdfb 100644 --- a/misc/team/Makefile +++ b/misc/team/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2000/08/18 22:46:44 hubertf Exp $ +# $NetBSD: Makefile,v 1.15 2000/09/04 14:53:13 kim Exp $ # FreeBSD Id: Makefile,v 1.6 1997/04/30 03:18:06 asami Exp # @@ -8,8 +8,23 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} MAINTAINER= packages@netbsd.org -NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL +NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL MANCOMPRESSED_IF_MANZ= yes +PLIST_SRC= ${WRKDIR}/PLIST + +post-install: + @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} + @for OPT in ${MANINSTALL} broken-solaris-needs-this; do \ + case $$OPT in \ + catinstall) \ + ${ECHO} man/cat1/team.0 >>${PLIST_SRC}; \ + ;; \ + maninstall) \ + ${ECHO} man/man1/team.1 >>${PLIST_SRC}; \ + ;; \ + esac; \ + done + .include "../../mk/bsd.pkg.mk" diff --git a/misc/team/pkg/PLIST b/misc/team/pkg/PLIST index e4704855228..355ae576d6d 100644 --- a/misc/team/pkg/PLIST +++ b/misc/team/pkg/PLIST @@ -1,4 +1,2 @@ -@comment $NetBSD: PLIST,v 1.3 1997/11/06 10:03:01 agc Exp $ +@comment $NetBSD: PLIST,v 1.4 2000/09/04 14:53:15 kim Exp $ bin/team -man/man1/team.1.gz -man/cat1/team.0.gz |