postsrsd: install man page.

This incurs a build dependency on help2man.

Bump PKGREVISION.
This commit is contained in:
wiz 2017-12-31 13:22:46 +00:00
parent 19c74f3bdf
commit 80b25b8635
2 changed files with 11 additions and 2 deletions

View file

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.1 2016/02/25 15:29:15 wiz Exp $
# $NetBSD: Makefile,v 1.2 2017/12/31 13:22:46 wiz Exp $
DISTNAME= postsrsd-1.4
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=roehling/}
@ -10,5 +11,12 @@ COMMENT= Postfix Sender Rewriting Scheme daemon
LICENSE= gnu-gpl-v2
USE_CMAKE= yes
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-configure
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
SUBST_FILES.man+= CMakeLists.txt
SUBST_MESSAGE.man= Fixing man page installation path.
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,5 @@
@comment $NetBSD: PLIST,v 1.1 2016/02/25 15:29:15 wiz Exp $
@comment $NetBSD: PLIST,v 1.2 2017/12/31 13:22:46 wiz Exp $
man/man8/postsrsd.8
sbin/postsrsd
share/doc/postsrsd/README.md
share/doc/postsrsd/README_UPGRADE.md