summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-03-20 22:04:08 +0000
committerfrueauf <frueauf>1998-03-20 22:04:08 +0000
commitd3d432e51af02008c4ba4d252a59987491f87675 (patch)
treebfdae61201594a6990b4f5c2a919d72efe72fa7c /comms
parent639b82cef366ec3857f114bfb1f7affffcea6043 (diff)
downloadpkgsrc-d3d432e51af02008c4ba4d252a59987491f87675.tar.gz
Handle MANZ and MANINSTALL case better.
Diffstat (limited to 'comms')
-rw-r--r--comms/kermit/Makefile6
-rw-r--r--comms/kermit/files/Makefile.sed2
2 files changed, 5 insertions, 3 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index 288599fea38..9260b79897f 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -3,7 +3,7 @@
# Date created: Oct 27, 1994
# Whom: pst
#
-# $NetBSD: Makefile,v 1.5 1998/03/10 13:39:53 frueauf Exp $
+# $NetBSD: Makefile,v 1.6 1998/03/20 22:04:08 frueauf Exp $
# $FreeBSD Id: Makefile,v 1.17 1997/11/26 23:16:51 jseger Exp
#
@@ -19,12 +19,12 @@ RESTRICTED= "'No redistribution' copyright"
MIRROR_DISTFILE= no
NO_WRKSUBDIR= yes
-PLIST_SRC= ${WRKDIR}/.PLIST-src
+# Do not list MAN/CAT pages here. It will confuse if MANZ is set.
+# The pkg uses BSD-style-Makefiles itself, so it does the right thing.
post-install:
@${MKDIR} ${PREFIX}/share/examples/kermit
${INSTALL_DATA} ${FILESDIR}/dot.kermrc ${PREFIX}/share/examples/kermit
@${CAT} ${PKGDIR}/DESCR
- [ "X$$MANZ" = X"" ] && ${SED} -e 's|.gz$$||' < ${PKGDIR}/PLIST > ${PLIST_SRC}
.include <bsd.port.mk>
diff --git a/comms/kermit/files/Makefile.sed b/comms/kermit/files/Makefile.sed
index 39d8775fd5f..d217dc4055d 100644
--- a/comms/kermit/files/Makefile.sed
+++ b/comms/kermit/files/Makefile.sed
@@ -9,6 +9,8 @@ SRCS= ckcmai.c ckucmd.c ckuusr.c ckuus2.c ckuus3.c ckuus4.c ckuus5.c \
BINDIR=%%PREFIX%%/bin
MANDIR=%%PREFIX%%/man
+MANINSTALL= maninstall catinstall
+
CLEANFILES+= ckcpro.c ckcwart.o wart kermit.1
DPADD= ${LIBCURSES} ${LIBTERM}