git: c950b689ccfa - main - dns/dnsmasq: Move man pages to share/man

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 05 Mar 2024 23:39:36 UTC
The branch main has been updated by vvd:

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

commit c950b689ccfa3bb97954e798e692ffcd274cbbd3
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-03-05 20:40:39 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-03-05 23:35:41 +0000

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

diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile
index 6c9573480f6b..89589552e859 100644
--- a/dns/dnsmasq/Makefile
+++ b/dns/dnsmasq/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	dnsmasq
 DISTVERSION=	2.90
 # Leave the PORTREVISION in even if 0 to avoid accidental PORTEPOCH bumps:
-PORTREVISION=	0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	dns
 MASTER_SITES=	https://www.thekelleys.org.uk/dnsmasq/ \
@@ -120,7 +120,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${STAGEDIR}${PREFIX}/etc/dnsmasq.conf.sample
 	${REINPLACE_CMD} -i '' 's}%%PREFIX%%}${PREFIX}}' ${STAGEDIR}${PREFIX}/etc/dnsmasq.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/share/man/man8
 	${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/trust-anchors.conf ${STAGEDIR}${DATADIR}/
 .if ${PORT_OPTIONS:MDOCS}
diff --git a/dns/dnsmasq/pkg-plist b/dns/dnsmasq/pkg-plist
index 7b4f201b6fe9..4696b9a181a6 100644
--- a/dns/dnsmasq/pkg-plist
+++ b/dns/dnsmasq/pkg-plist
@@ -1,6 +1,6 @@
 sbin/dnsmasq
 @sample etc/dnsmasq.conf.sample
-man/man8/dnsmasq.8.gz
+share/man/man8/dnsmasq.8.gz
 %%DATADIR%%/trust-anchors.conf
 %%EXAMPLESDIR%%/dnslist/dhcp.css
 %%EXAMPLESDIR%%/dnslist/dnslist.pl