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 /mail | |
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 'mail')
-rw-r--r-- | mail/mailwrapper/Makefile | 7 | ||||
-rw-r--r-- | mail/postfix/Makefile | 9 |
2 files changed, 4 insertions, 12 deletions
diff --git a/mail/mailwrapper/Makefile b/mail/mailwrapper/Makefile index b5a309acbd1..1368005670e 100644 --- a/mail/mailwrapper/Makefile +++ b/mail/mailwrapper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1999/04/20 11:57:14 tv Exp $ +# $NetBSD: Makefile,v 1.4 1999/07/02 08:37:23 agc Exp $ DISTNAME= mailwrapper-19990412 CATEGORIES= mail @@ -9,15 +9,12 @@ MAINTAINER= tron@netbsd.org MIRROR_DISTFILE= no NO_CONFIGURE= yes NO_PATCH= yes +MANCOMPRESSED_IF_MANZ= yes .if exists(/usr/sbin/mailwrapper) IGNORE= "is part of your NetBSD distribution" .endif -.include "../../mk/bsd.prefs.mk" -.if defined(MANZ) -MANCOMPRESSED= 1 -.endif WRKSRC= ${WRKDIR}/mailwrapper MAILER_CONF= /etc/mailer.conf diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 59cd7e37923..71f8f888df1 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 1999/06/27 20:09:23 christos Exp $ +# $NetBSD: Makefile,v 1.11 1999/07/02 08:37:24 agc Exp $ DISTNAME= postfix-19990601 CATEGORIES= mail @@ -8,6 +8,7 @@ MAINTAINER= christos@netbsd.org HOMEPAGE= http://www.postfix.org/ MIRROR_DISTFILE= no +MANCOMPRESSED_IF_MANZ= yes pre-patch: ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist @@ -39,10 +40,4 @@ pre-install: post-install: ${INSTALL_DATA} ${WRKDIR}/mailer.conf.postfix ${PREFIX}/etc -.include "../../mk/bsd.prefs.mk" - -.ifdef MANZ -MANCOMPRESSED= yes -.endif - .include "../../mk/bsd.pkg.mk" |