diff options
author | schmonz <schmonz@pkgsrc.org> | 2003-01-11 07:52:15 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2003-01-11 07:52:15 +0000 |
commit | dfae9939348bff57f32b77b0b12ee0cbbf1eedd1 (patch) | |
tree | 2f6f4486c1d82a7962c71afc3b0bb8a34ce0c235 /pkgtools/pkg_install/Makefile | |
parent | 5891d32f96830484441b6c79bbc35fa53982cbbb (diff) | |
download | pkgsrc-dfae9939348bff57f32b77b0b12ee0cbbf1eedd1.tar.gz |
On NetBSD, man pages were getting installed into /usr/man. That's,
like, so 80's! Pass a value more appropriate for the current decade
to --mandir via CONFIGURE_ARGS, and let ./configure set this in
the Makefiles.
Install catted man pages with the suffix ".0" rather than ".1".
Bump PKGTOOLS_VERSION.
Diffstat (limited to 'pkgtools/pkg_install/Makefile')
-rw-r--r-- | pkgtools/pkg_install/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index 965173be495..07cad50a15e 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2003/01/10 12:01:43 agc Exp $ +# $NetBSD: Makefile,v 1.67 2003/01/11 07:52:15 schmonz Exp $ # Notes to package maintainers: # @@ -58,3 +58,8 @@ post-install: .include "../../mk/bsd.pkg.mk" PREFIX:= ${PKG_TOOLS_BIN:C|/[^/]?bin$||} +.if ${PREFIX} == "/usr" +CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man +.else +CONFIGURE_ARGS+= --mandir=${PREFIX}/man +.endif |