summaryrefslogtreecommitdiff
path: root/textproc/catdoc/Makefile
diff options
context:
space:
mode:
authoragc <agc>1998-06-22 09:10:24 +0000
committeragc <agc>1998-06-22 09:10:24 +0000
commitf898dfe0188410ce6cb991faa3018daf27faeb66 (patch)
treecb318b085d2e5e250ed3e6250e0d16bd3f021087 /textproc/catdoc/Makefile
parentced26f5bcb85fa283df55a5465f9f91de9481b9a (diff)
downloadpkgsrc-f898dfe0188410ce6cb991faa3018daf27faeb66.tar.gz
Set MANCOMPRESSED explicitly if MANZ is set.
Diffstat (limited to 'textproc/catdoc/Makefile')
-rw-r--r--textproc/catdoc/Makefile9
1 files changed, 6 insertions, 3 deletions
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 \