pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/postsrsd postsrsd: install man page.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25cfe7461fca
branches:  trunk
changeset: 373352:25cfe7461fca
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Dec 31 13:22:46 2017 +0000

description:
postsrsd: install man page.

This incurs a build dependency on help2man.

Bump PKGREVISION.

diffstat:

 mail/postsrsd/Makefile |  10 +++++++++-
 mail/postsrsd/PLIST    |   3 ++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r e3979df58192 -r 25cfe7461fca mail/postsrsd/Makefile
--- a/mail/postsrsd/Makefile    Sun Dec 31 11:21:31 2017 +0000
+++ b/mail/postsrsd/Makefile    Sun Dec 31 13:22:46 2017 +0000
@@ -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 @@
 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"
diff -r e3979df58192 -r 25cfe7461fca mail/postsrsd/PLIST
--- a/mail/postsrsd/PLIST       Sun Dec 31 11:21:31 2017 +0000
+++ b/mail/postsrsd/PLIST       Sun Dec 31 13:22:46 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index