summaryrefslogtreecommitdiff
path: root/x11
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 /x11
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 'x11')
-rw-r--r--x11/xmascot/Makefile8
-rw-r--r--x11/xneko/Makefile9
2 files changed, 6 insertions, 11 deletions
diff --git a/x11/xmascot/Makefile b/x11/xmascot/Makefile
index ab92fceb91b..3f47a60e2af 100644
--- a/x11/xmascot/Makefile
+++ b/x11/xmascot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1998/08/20 15:17:40 tsarna Exp $
+# $NetBSD: Makefile,v 1.10 1999/07/02 08:37:29 agc Exp $
# FreeBSD Id: Makefile,v 1.2 1997/06/07 19:47:09 max Exp
#
@@ -10,11 +10,11 @@ MASTER_SITES= ftp://cclub.tutcc.tut.ac.jp/pub/xmascot/
MAINTAINER= Nakai@Mlab.t.u-tokyo.ac.jp
HOMEPAGE= http://cclub.cc.tut.ac.jp/xmascot/
-OPSYS!= uname -s
-
USE_IMAKE= yes
-.if (${OPSYS} != "NetBSD")
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "NetBSD"
MANCOMPRESSED= yes
.endif
diff --git a/x11/xneko/Makefile b/x11/xneko/Makefile
index 356f0999b94..cc5dc1bc171 100644
--- a/x11/xneko/Makefile
+++ b/x11/xneko/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1999/01/30 23:18:58 agc Exp $
+# $NetBSD: Makefile,v 1.8 1999/07/02 08:37:29 agc Exp $
# FreeBSD Id: Makefile,v 1.6 1997/03/12 08:21:35 asami Exp
#
@@ -12,11 +12,6 @@ MAINTAINER= packages@netbsd.org
USE_X11BASE= yes
IGNOREFILES= ${DISTFILES}
WRKSRC= ${WRKDIR}/pub/bsd-sources/4.4BSD-Lite/usr/src/games/xneko
-
-.include "../../mk/bsd.prefs.mk"
-
-.ifdef MANZ
-MANCOMPRESSED= yes
-.endif
+MANCOMPRESSED_IF_MANZ= yes
.include "../../mk/bsd.pkg.mk"