From d41bebb24d37bb232ec4a2fb712b8eddc6ec6046 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 22 Jun 1998 09:10:24 +0000 Subject: Set MANCOMPRESSED explicitly if MANZ is set. --- textproc/catdoc/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'textproc/catdoc') diff --git a/textproc/catdoc/Makefile b/textproc/catdoc/Makefile index be0c87aa831..e23ae65e32b 100644 --- a/textproc/catdoc/Makefile +++ b/textproc/catdoc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 1998/06/20 21:39:58 tron Exp $ +# $NetBSD: Makefile,v 1.3 1998/06/22 09:10:24 agc Exp $ # DISTNAME= catdoc-0.35 @@ -9,8 +9,11 @@ MAINTAINER= frueauf@netbsd.org DEPENDS= tk-8.0p2:../../x11/tk80 -# 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. +.include "../../mk/bsd.prefs.mk" + +.ifdef MANZ +MANCOMPRESSED= yes +.endif post-install: ${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/wordview \ -- cgit v1.2.3