git: 6529680c8278 - main - net/nmsg: Move man pages to share/man

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 06:07:00 UTC
The branch main has been updated by truckman:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6529680c82788809dea996f7a2c2d798826d2050

commit 6529680c82788809dea996f7a2c2d798826d2050
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2024-03-07 06:03:53 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2024-03-07 06:03:53 +0000

    net/nmsg: Move man pages to share/man
    
    Sponsored by:   DomainTools LLC
---
 net/nmsg/Makefile  | 3 ++-
 net/nmsg/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/net/nmsg/Makefile b/net/nmsg/Makefile
index 97936eb77126..11b588a554d5 100644
--- a/net/nmsg/Makefile
+++ b/net/nmsg/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nmsg
 PORTVERSION=	1.1.2
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight
 
@@ -15,6 +15,7 @@ LIB_DEPENDS=	libprotobuf-c.so:devel/protobuf-c \
 		libwdns.so:dns/wdns
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USES=		gmake libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
 USE_PERL5=	build
diff --git a/net/nmsg/pkg-plist b/net/nmsg/pkg-plist
index 69b31252e548..c85fcf04203d 100644
--- a/net/nmsg/pkg-plist
+++ b/net/nmsg/pkg-plist
@@ -50,7 +50,7 @@ lib/libnmsg.so.8.1.1
 lib/nmsg/nmsg_flt1_sample.so
 lib/nmsg/nmsg_msg9_base.so
 libdata/pkgconfig/libnmsg.pc
-%%MANPAGES%%man/man1/nmsgtool.1.gz
+%%MANPAGES%%share/man/man1/nmsgtool.1.gz
 %%DATADIR%%/base/dns.proto
 %%DATADIR%%/base/dnsobs.proto
 %%DATADIR%%/base/dnsqr.proto