summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2000-09-04 14:53:13 +0000
committerkim <kim@pkgsrc.org>2000-09-04 14:53:13 +0000
commit940c8da1a2d7e7440f30364930e6e5d400a23199 (patch)
tree4c809f221508b0559416210515e5399e95241bad /misc
parent250dc789b27cf23ce31b7e68e64dac91da8d5113 (diff)
downloadpkgsrc-940c8da1a2d7e7440f30364930e6e5d400a23199.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/Makefile19
-rw-r--r--misc/team/pkg/PLIST4
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