From a09aa44f126436e80e15a54e4d39f14cca2f1c0c Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 19 Aug 2017 00:22:00 +0000 Subject: 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}. --- pkgtools/libkver/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgtools') 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} -- cgit v1.2.3