summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-08-19 00:22:00 +0000
committerjlam <jlam@pkgsrc.org>2017-08-19 00:22:00 +0000
commita09aa44f126436e80e15a54e4d39f14cca2f1c0c (patch)
tree3d5f07395935aad4ef9a3b57818bf6a0603c2767 /pkgtools
parentee3610171f7301e43c26f7a64554d34b7cb2399d (diff)
downloadpkgsrc-a09aa44f126436e80e15a54e4d39f14cca2f1c0c.tar.gz
pkgtools/libkver: Install manpages into ${PKGMANDIR}.
This project uses BSD makefiles to build and install the binaries and manpages. Add "MANDIR=..." to the flags passed to "make install" so that the manpages are installed in the correct location under ${PKGMANDIR}.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/libkver/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/libkver/Makefile b/pkgtools/libkver/Makefile
index 5cf1bf271cc..351ef1c0f36 100644
--- a/pkgtools/libkver/Makefile
+++ b/pkgtools/libkver/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2014/10/09 14:06:49 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2017/08/19 00:22:00 jlam Exp $
PKGNAME= libkver-${VERSION}
CATEGORIES= pkgtools
@@ -42,6 +42,8 @@ INSTALLATION_DIRS+= lib ${PKGMANDIR}/man3 ${PKGMANDIR}/cat3
INSTALLATION_DIRS+= sbin
.endif
+INSTALL_MAKE_FLAGS+= MANDIR=${PREFIX:Q}/${PKGMANDIR:Q}
+
do-extract:
${CP} -R ${FILESDIR} ${WRKSRC}