diff options
author | agc <agc@pkgsrc.org> | 1999-07-02 08:37:20 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-07-02 08:37:20 +0000 |
commit | fd7b118f38aa1478da8c4a0a0894a28171ae8ab6 (patch) | |
tree | 362c5b8a0071e5142cca0f9817f6405d9085751b /x11 | |
parent | c36b1c7f7d0b35cae5e13db0e4f45e539d203c83 (diff) | |
download | pkgsrc-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 'x11')
-rw-r--r-- | x11/xmascot/Makefile | 8 | ||||
-rw-r--r-- | x11/xneko/Makefile | 9 |
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" |