sysutils/bkpupsd: 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}.
This commit is contained in:
jlam 2017-08-19 00:20:02 +00:00
parent 80263d098b
commit e8fe0e2710

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.33 2013/09/10 14:42:19 joerg Exp $
# $NetBSD: Makefile,v 1.34 2017/08/19 00:20:02 jlam Exp $
#
DISTNAME= bkpupsd-2.2.1
@ -25,8 +25,8 @@ ONLY_FOR_PLATFORM= NetBSD-*-*
DOCDIR= ${PREFIX}/share/doc/bkpupsd
MAKE_ENV+= DEFAULT_DEVICE=${DEFAULT_SERIAL_DEVICE:Q} DOCDIR=${DOCDIR:Q} \
RCD_SCRIPTS_EXAMPLEDIR=${RCD_SCRIPTS_EXAMPLEDIR:Q}
MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP}
MAKE_ENV+= MANOWN=${MANOWN} MANGRP=${MANGRP}
INSTALL_MAKE_FLAGS+= MANDIR=${PREFIX:Q}/${PKGMANDIR:Q}
MESSAGE_SUBST+= DOCDIR=${DOCDIR}