summaryrefslogtreecommitdiff
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
commit806376795cc84238728d7b59c59057fd02d98eda (patch)
tree5d9d58957dc989a19cb212152cdf6d87aa836408
parent24f80f6c30e0a7f64089061ff4ac8600ead54c6e (diff)
downloadpkgsrc-806376795cc84238728d7b59c59057fd02d98eda.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}.
-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}