git: 6cdbebe950ec - main - dns/dnsmasq-devel: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 04 Apr 2024 17:09:29 UTC
The branch main has been updated by arrowd:

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

commit 6cdbebe950ec2a9f21da40a4c3ad9b5b7ceb2e24
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-04-04 17:07:45 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-04-04 17:07:45 +0000

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

diff --git a/dns/dnsmasq-devel/Makefile b/dns/dnsmasq-devel/Makefile
index 43974a45f4d9..a853e2e25652 100644
--- a/dns/dnsmasq-devel/Makefile
+++ b/dns/dnsmasq-devel/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	dnsmasq
 DISTVERSION=	2.90test4 # remember to bump PORTEPOCH when going from test to rc!
 # Leave the PORTREVISION in even if 0 to avoid accidental PORTEPOCH bumps:
-PORTREVISION=	0
+PORTREVISION=	1
 PORTEPOCH=	5
 CATEGORIES=	dns
 #MASTER_SITES=	https://www.thekelleys.org.uk/dnsmasq/release-candidates/ \
@@ -125,7 +125,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-devel/pkg-plist b/dns/dnsmasq-devel/pkg-plist
index 7b4f201b6fe9..a3ea2cd59697 100644
--- a/dns/dnsmasq-devel/pkg-plist
+++ b/dns/dnsmasq-devel/pkg-plist
@@ -1,6 +1,5 @@
 sbin/dnsmasq
 @sample etc/dnsmasq.conf.sample
-man/man8/dnsmasq.8.gz
 %%DATADIR%%/trust-anchors.conf
 %%EXAMPLESDIR%%/dnslist/dhcp.css
 %%EXAMPLESDIR%%/dnslist/dnslist.pl
@@ -16,3 +15,4 @@ man/man8/dnsmasq.8.gz
 %%NLS%%share/locale/pl/LC_MESSAGES/dnsmasq.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/dnsmasq.mo
 %%NLS%%share/locale/ro/LC_MESSAGES/dnsmasq.mo
+share/man/man8/dnsmasq.8.gz