summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-03-06 21:24:43 +0000
committerkim <kim@pkgsrc.org>1999-03-06 21:24:43 +0000
commit421d42fe9ddaf4519963d967c196d0a1be77950a (patch)
treed478a053890260f3cfc63d56b639ea5040a47ce3 /comms
parentec7a6689bdb1bbd14861bb66cd2fe336ff573e61 (diff)
downloadpkgsrc-421d42fe9ddaf4519963d967c196d0a1be77950a.tar.gz
Create a dynamic packing list for manual pages.
Diffstat (limited to 'comms')
-rw-r--r--comms/kermit/Makefile11
-rw-r--r--comms/kermit/pkg/PLIST3
2 files changed, 11 insertions, 3 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index 558cd1d0a4d..eb7761d2a0f 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 1999/02/06 17:56:42 tv Exp $
+# $NetBSD: Makefile,v 1.12 1999/03/06 21:24:43 kim Exp $
# $FreeBSD Id: Makefile,v 1.17 1997/11/26 23:16:51 jseger Exp
#
@@ -21,8 +21,17 @@ NO_WRKSUBDIR= yes
MANCOMPRESSED= yes
.endif
+PLIST_SRC= ${PKGDIR}/PLIST ${WRKSRC}/PLIST.man
+
post-install:
@${MKDIR} ${PREFIX}/share/examples/kermit
${INSTALL_DATA} ${FILESDIR}/dot.kermrc ${PREFIX}/share/examples/kermit
+ @${CP} /dev/null ${WRKDIR}/PLIST.man
+ @for i in ${MANINSTALL} x; do \
+ case $$i in \
+ catinstall) echo man/cat1/kermit.0 >> ${WRKDIR}/PLIST.man;; \
+ maninstall) echo man/man1/kermit.1 >> ${WRKDIR}/PLIST.man;; \
+ esac; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/kermit/pkg/PLIST b/comms/kermit/pkg/PLIST
index 0999d390acb..cb789926514 100644
--- a/comms/kermit/pkg/PLIST
+++ b/comms/kermit/pkg/PLIST
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 1999/03/06 01:10:11 kim Exp $
+@comment $NetBSD: PLIST,v 1.4 1999/03/06 21:24:43 kim Exp $
bin/kermit
-man/cat1/kermit.0
share/examples/kermit/dot.kermrc
@dirrm share/examples/kermit