summaryrefslogtreecommitdiff
path: root/x11/xneko/Makefile
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/Makefile
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/Makefile')
-rw-r--r--x11/xneko/Makefile13
1 files changed, 12 insertions, 1 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"