summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoragc <agc>1999-07-02 08:37:20 +0000
committeragc <agc>1999-07-02 08:37:20 +0000
commitb679393db5497be44aec2d03789089a77bd46d07 (patch)
tree362c5b8a0071e5142cca0f9817f6405d9085751b /net
parentbd4153fe1123d472d594def40fe34b5e435ee146 (diff)
downloadpkgsrc-b679393db5497be44aec2d03789089a77bd46d07.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 'net')
-rw-r--r--net/dip/Makefile9
-rw-r--r--net/spegla/Makefile9
-rw-r--r--net/ttcp/Makefile9
3 files changed, 6 insertions, 21 deletions
diff --git a/net/dip/Makefile b/net/dip/Makefile
index ca667eaed50..99eb0ede186 100644
--- a/net/dip/Makefile
+++ b/net/dip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1998/07/03 23:30:10 tron Exp $
+# $NetBSD: Makefile,v 1.7 1999/07/02 08:37:27 agc Exp $
# FreeBSD Id: Makefile,v 1.5 1997/04/30 03:18:07 asami Exp
#
@@ -14,11 +14,6 @@ MAINTAINER= packages@netbsd.org
MIRROR_DISTFILE= no
NO_CONFIGURE= yes
-
-.include "../../mk/bsd.prefs.mk"
-
-.ifdef MANZ
-MANCOMPRESSED= yes
-.endif
+MANCOMPRESSED_IF_MANZ= yes
.include "../../mk/bsd.pkg.mk"
diff --git a/net/spegla/Makefile b/net/spegla/Makefile
index c5b0a3d5237..9df0b19d1ef 100644
--- a/net/spegla/Makefile
+++ b/net/spegla/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/02/26 11:27:18 frueauf Exp $
+# $NetBSD: Makefile,v 1.2 1999/07/02 08:37:27 agc Exp $
#
DISTNAME= spegla-1.04
@@ -7,11 +7,6 @@ MASTER_SITES= ftp://ftp.luth.se/pub/unix/mirror/ \
ftp://subzero.campus.luth.se/pub/spegla/
MAINTAINER= jnilsson@ludd.luth.se
-
-.include "../../mk/bsd.prefs.mk"
-
-.ifdef MANZ
-MANCOMPRESSED= yes
-.endif
+MANCOMPRESSED_IF_MANZ= yes
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ttcp/Makefile b/net/ttcp/Makefile
index 31f966eee03..2336715bc41 100644
--- a/net/ttcp/Makefile
+++ b/net/ttcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 1998/08/20 15:17:20 tsarna Exp $
+# $NetBSD: Makefile,v 1.13 1999/07/02 08:37:27 agc Exp $
#
DISTNAME= ttcp
@@ -12,11 +12,6 @@ HOMEPAGE= http://www.ccci.com/tools/ttcp/
NO_CONFIGURE= yes
NO_WRKSUBDIR= yes
-
-.include "../../mk/bsd.prefs.mk"
-
-.ifdef MANZ
-MANCOMPRESSED= yes
-.endif
+MANCOMPRESSED_IF_MANZ= yes
.include "../../mk/bsd.pkg.mk"