git: 6915b41eea1e - main - devel/liblogging: install man pages in ${PREFIX}/share/man

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 12:16:32 UTC
The branch main has been updated by matthew:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6915b41eea1eac4ece686083e6059b53173284d7

commit 6915b41eea1eac4ece686083e6059b53173284d7
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2024-01-21 12:15:04 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2024-01-21 12:16:29 +0000

    devel/liblogging: install man pages in ${PREFIX}/share/man
    
    While here, mollify portlint(8) by adding `USE_LDCONFIG=yes`
---
 devel/liblogging/Makefile  | 7 +++++--
 devel/liblogging/pkg-plist | 4 ++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/devel/liblogging/Makefile b/devel/liblogging/Makefile
index 33ced2f01da9..b70bc86fa1ef 100644
--- a/devel/liblogging/Makefile
+++ b/devel/liblogging/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	liblogging
 PORTVERSION=	1.0.6
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://download.rsyslog.com/liblogging/
 
@@ -9,11 +10,13 @@ WWW=		https://www.liblogging.org/
 
 LICENSE=	BSD2CLAUSE
 
-GNU_CONFIGURE=	yes
 USES=		cpe libtool pathfix pkgconfig
 CPE_VENDOR=	adiscon
 
-CONFIGURE_ARGS+=	--disable-journal --enable-rfc3195
+GNU_CONFIGURE=			yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+CONFIGURE_ARGS+=		--disable-journal --enable-rfc3195
+USE_LDCONFIG=			yes
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblogging-rfc3195.so.0.0.0
diff --git a/devel/liblogging/pkg-plist b/devel/liblogging/pkg-plist
index bd590c43ef6f..7a34c695fc1b 100644
--- a/devel/liblogging/pkg-plist
+++ b/devel/liblogging/pkg-plist
@@ -14,5 +14,5 @@ lib/liblogging-stdlog.so.0
 lib/liblogging-stdlog.so.0.1.0
 libdata/pkgconfig/liblogging-rfc3195.pc
 libdata/pkgconfig/liblogging-stdlog.pc
-man/man1/stdlogctl.1.gz
-man/man3/stdlog.3.gz
+share/man/man1/stdlogctl.1.gz
+share/man/man3/stdlog.3.gz