summaryrefslogtreecommitdiff
path: root/x11/xneko
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-07-05 00:34:09 +0000
committerkim <kim@pkgsrc.org>1999-07-05 00:34:09 +0000
commit845ae7b669e2050e31638ede8140aa7ce8e9a23d (patch)
treece5cbad95d9d6d5bbef35c9974eea0e69ec322c7 /x11/xneko
parentbf1b5c5e69f031ec39172c91fb2642601f95861f (diff)
downloadpkgsrc-845ae7b669e2050e31638ede8140aa7ce8e9a23d.tar.gz
Dynamic PLIST needed for list of manual pages installed, because
MANINSTALL from /etc/mk.conf will affect the BSD 4.4 Makefile this software comes with.
Diffstat (limited to 'x11/xneko')
-rw-r--r--x11/xneko/Makefile13
-rw-r--r--x11/xneko/pkg/PLIST4
2 files changed, 13 insertions, 4 deletions
diff --git a/x11/xneko/Makefile b/x11/xneko/Makefile
index cc5dc1bc171..8bf8030fcc0 100644
--- a/x11/xneko/Makefile
+++ b/x11/xneko/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 1999/07/02 08:37:29 agc Exp $
+# $NetBSD: Makefile,v 1.9 1999/07/05 00:34:09 kim Exp $
# FreeBSD Id: Makefile,v 1.6 1997/03/12 08:21:35 asami Exp
#
@@ -14,4 +14,15 @@ IGNOREFILES= ${DISTFILES}
WRKSRC= ${WRKDIR}/pub/bsd-sources/4.4BSD-Lite/usr/src/games/xneko
MANCOMPRESSED_IF_MANZ= yes
+PLIST_SRC= ${WRKDIR}/PLIST
+
+post-install:
+ @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
+ @for OPT in ${MANINSTALL} x; do \
+ case $$OPT in \
+ catinstall) ${ECHO} man/cat6/xneko.0 >>${PLIST_SRC};; \
+ maninstall) ${ECHO} man/man6/xneko.6 >>${PLIST_SRC};; \
+ esac; \
+ done
+
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xneko/pkg/PLIST b/x11/xneko/pkg/PLIST
index 5b53d86fd49..53e77cad5e5 100644
--- a/x11/xneko/pkg/PLIST
+++ b/x11/xneko/pkg/PLIST
@@ -1,4 +1,2 @@
-@comment $NetBSD: PLIST,v 1.2 1998/02/17 23:47:49 tron Exp $
+@comment $NetBSD: PLIST,v 1.3 1999/07/05 00:34:10 kim Exp $
bin/xneko
-man/man6/xneko.6.gz
-man/cat6/xneko.0