summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz>2003-01-11 07:52:15 +0000
committerschmonz <schmonz>2003-01-11 07:52:15 +0000
commit1836fbf8ec2d7ad5667d67016656031f59643458 (patch)
tree2f6f4486c1d82a7962c71afc3b0bb8a34ce0c235 /pkgtools/pkg_install/Makefile
parent52a07a94631066f1240ac4873b9c60dcccb52fbc (diff)
downloadpkgsrc-1836fbf8ec2d7ad5667d67016656031f59643458.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/Makefile7
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