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 /pkgtools/pax/Makefile | |
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 'pkgtools/pax/Makefile')
-rw-r--r-- | pkgtools/pax/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgtools/pax/Makefile b/pkgtools/pax/Makefile index 56704127ed4..c6ff289785b 100644 --- a/pkgtools/pax/Makefile +++ b/pkgtools/pax/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1999/04/23 13:47:44 hubertf Exp $ +# $NetBSD: Makefile,v 1.4 1999/07/02 08:37:28 agc Exp $ # DISTNAME= pax-19980903 @@ -14,12 +14,7 @@ WRKSRC= ${WRKDIR}/pax MAKE_ENV+= BINDIR=/bin MANDIR=/usr/share/man NO_PKG_REGISTER= yes NO_PACKAGE= No package registration is done - -.include "../../mk/bsd.prefs.mk" - -.ifdef MANZ -MANCOMPRESSED= yes -.endif +MANCOMPRESSED_IF_MANZ= yes post-extract: ${GREP} -v __RCSID ${FILESDIR}/pwcache.c >${WRKSRC}/pwcache.c |