git: 3d7f8f85b3c0 - main - dns/pdnsd: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 09:48:00 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3d7f8f85b3c011c231d78ce935ef815eae871928

commit 3d7f8f85b3c011c231d78ce935ef815eae871928
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-07 09:38:42 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-07 09:47:34 +0000

    dns/pdnsd: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 dns/pdnsd/Makefile  | 2 ++
 dns/pdnsd/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/dns/pdnsd/Makefile b/dns/pdnsd/Makefile
index 2fa6f2273c48..be1a39fe9874 100644
--- a/dns/pdnsd/Makefile
+++ b/dns/pdnsd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pdnsd
 PORTVERSION=	1.2.9a
+PORTREVISION=	1
 CATEGORIES=	dns
 MASTER_SITES=	http://members.home.nl/p.a.rombouts/pdnsd/releases/ \
 		http://distfiles.pirateparty.in/ashish/
@@ -13,6 +14,7 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USES=		cpe gmake
 USE_RC_SUBR=	pdnsd
 CONFIGURE_ARGS=	--with-cachedir=${PDNSDB} \
diff --git a/dns/pdnsd/pkg-plist b/dns/pdnsd/pkg-plist
index cbe811966246..db9d26b703f9 100644
--- a/dns/pdnsd/pkg-plist
+++ b/dns/pdnsd/pkg-plist
@@ -1,7 +1,4 @@
 @sample etc/pdnsd.conf.sample
-man/man5/pdnsd.conf.5.gz
-man/man8/pdnsd-ctl.8.gz
-man/man8/pdnsd.8.gz
 sbin/pdnsd
 sbin/pdnsd-ctl
 %%PORTDOCS%%%%DOCSDIR%%/dl.html
@@ -11,4 +8,7 @@ sbin/pdnsd-ctl
 %%PORTDOCS%%%%DOCSDIR%%/faq.txt
 %%PORTDOCS%%%%DOCSDIR%%/intro.txt
 %%PORTDOCS%%%%DOCSDIR%%/manual.txt
+share/man/man5/pdnsd.conf.5.gz
+share/man/man8/pdnsd-ctl.8.gz
+share/man/man8/pdnsd.8.gz
 @dir(nobody,,755) /var/db/pdnsd