From fd7b118f38aa1478da8c4a0a0894a28171ae8ab6 Mon Sep 17 00:00:00 2001
From: agc <agc@pkgsrc.org>
Date: Fri, 2 Jul 1999 08:37:20 +0000
Subject: 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.
---
 net/spegla/Makefile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

(limited to 'net/spegla')

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"
-- 
cgit v1.2.3