From 8c662e7382340350e1b5573cf770c05551165b2d Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 4 Sep 2000 14:53:13 +0000 Subject: 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). --- misc/team/Makefile | 19 +++++++++++++++++-- misc/team/pkg/PLIST | 4 +--- 2 files changed, 18 insertions(+), 5 deletions(-) (limited to 'misc/team') 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 -- cgit v1.2.3