summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-07-02 08:37:20 +0000
committeragc <agc@pkgsrc.org>1999-07-02 08:37:20 +0000
commitfd7b118f38aa1478da8c4a0a0894a28171ae8ab6 (patch)
tree362c5b8a0071e5142cca0f9817f6405d9085751b /comms
parentc36b1c7f7d0b35cae5e13db0e4f45e539d203c83 (diff)
downloadpkgsrc-fd7b118f38aa1478da8c4a0a0894a28171ae8ab6.tar.gz
Some packages use bsd-style .mk files when building, and so any manual
pages that are installed will be gzip-compressed, if MANZ is set, or not if MANZ is not set. If the package uses bsd-style .mk files, the variable MANCOMPRESSED_IF_MANZ should be set to a value of "yes" in the package Makefile. This replaces the previous method of specific inclusion of bsd.prefs.mk, followed by a check for MANZ and conditional assignment of MANCOMPRESSED. Add appropriate documentation, and change all necessary ocurrences in package Makefiles.
Diffstat (limited to 'comms')
-rw-r--r--comms/kermit/Makefile8
-rw-r--r--comms/modemd/Makefile8
2 files changed, 4 insertions, 12 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index 57101d13edc..982c22c9a72 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 1999/03/06 22:50:31 tron Exp $
+# $NetBSD: Makefile,v 1.15 1999/07/02 08:37:22 agc Exp $
# $FreeBSD Id: Makefile,v 1.17 1997/11/26 23:16:51 jseger Exp
#
@@ -15,11 +15,7 @@ RESTRICTED= "'No redistribution' copyright"
MIRROR_DISTFILE= no
NO_WRKSUBDIR= yes
-.include "../../mk/bsd.prefs.mk"
-
-.ifdef MANZ
-MANCOMPRESSED= yes
-.endif
+MANCOMPRESSED_IF_MANZ= yes
PLIST_SRC= ${WRKDIR}/PLIST
diff --git a/comms/modemd/Makefile b/comms/modemd/Makefile
index c0a43f1c5ca..e8fb4de7322 100644
--- a/comms/modemd/Makefile
+++ b/comms/modemd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1998/09/22 14:41:05 agc Exp $
+# $NetBSD: Makefile,v 1.6 1999/07/02 08:37:22 agc Exp $
DISTNAME= modemd-970221
PKGNAME= modemd-19970221
@@ -7,11 +7,7 @@ MASTER_SITES= ftp://ftp.vix.com/pub/modemd/
MAINTAINER= tsarna@netbsd.org
-.include "../../mk/bsd.prefs.mk"
-
-.ifdef MANZ
-MANCOMPRESSED= yes
-.endif
+MANCOMPRESSED_IF_MANZ= yes
pre-install:
${MKDIR} ${PREFIX}/share/examples/modemd