summaryrefslogtreecommitdiff
path: root/misc
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 /misc
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 'misc')
-rw-r--r--misc/colorls/Makefile9
-rw-r--r--misc/team/Makefile9
2 files changed, 4 insertions, 14 deletions
diff --git a/misc/colorls/Makefile b/misc/colorls/Makefile
index 383375dd91c..3eb4694e5c5 100644
--- a/misc/colorls/Makefile
+++ b/misc/colorls/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1998/07/03 23:30:10 tron Exp $
+# $NetBSD: Makefile,v 1.10 1999/07/02 08:37:26 agc Exp $
# FreeBSD Id: Makefile,v 1.13 1997/04/30 03:18:06 asami Exp
#
@@ -12,12 +12,7 @@ MAINTAINER= packages@netbsd.org
MIRROR_DISTFILE= no
WRKSRC= ${WRKDIR}/ls
-
-.include "../../mk/bsd.prefs.mk"
-
-.ifdef MANZ
-MANCOMPRESSED= yes
-.endif
+MANCOMPRESSED_IF_MANZ= yes
pre-patch:
${CP} ${WRKSRC}/ls.1 ${WRKSRC}/colorls.1
diff --git a/misc/team/Makefile b/misc/team/Makefile
index 83af2e7c169..e434d215033 100644
--- a/misc/team/Makefile
+++ b/misc/team/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 1998/07/03 23:30:10 tron Exp $
+# $NetBSD: Makefile,v 1.13 1999/07/02 08:37:26 agc Exp $
# FreeBSD Id: Makefile,v 1.6 1997/04/30 03:18:06 asami Exp
#
@@ -9,11 +9,6 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= packages@netbsd.org
MIRROR_DISTFILE= no
-
-.include "../../mk/bsd.prefs.mk"
-
-.ifdef MANZ
-MANCOMPRESSED= yes
-.endif
+MANCOMPRESSED_IF_MANZ= yes
.include "../../mk/bsd.pkg.mk"