git: e2daf6c45a57 - main - dns/mDNSResponder_nss: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 10:42:45 UTC
The branch main has been updated by bofh:

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

commit e2daf6c45a57746d1ddf6bab6709525e6321d18b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 10:15:53 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 10:42:27 +0000

    dns/mDNSResponder_nss: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 dns/mDNSResponder_nss/Makefile  | 4 ++--
 dns/mDNSResponder_nss/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dns/mDNSResponder_nss/Makefile b/dns/mDNSResponder_nss/Makefile
index 3f3c2104b2f2..cb6b43807afb 100644
--- a/dns/mDNSResponder_nss/Makefile
+++ b/dns/mDNSResponder_nss/Makefile
@@ -1,6 +1,6 @@
 CATEGORIES=	dns net
 # Always set PORTREVISION explicitly as otherwise it is inherited from net/mDNSResponder
-PORTREVISION=	0
+PORTREVISION=	1
 PKGNAMESUFFIX=	_nss
 
 MAINTAINER=	mazhe@alkumuna.eu
@@ -42,7 +42,7 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \
 		${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_MAN} ${WRKSRC}/mDNSPosix/nss_mdns.conf.5 \
-		${STAGEDIR}${MANPREFIX}/man/man5
+		${STAGEDIR}${PREFIX}/share/man/man5
 
 	${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \
 		${STAGEDIR}${PREFIX}/etc/nss_mdns.conf.sample
diff --git a/dns/mDNSResponder_nss/pkg-plist b/dns/mDNSResponder_nss/pkg-plist
index f1c7d145c39f..daf0b6ef3141 100644
--- a/dns/mDNSResponder_nss/pkg-plist
+++ b/dns/mDNSResponder_nss/pkg-plist
@@ -1,5 +1,5 @@
 @sample etc/nss_mdns.conf.sample
 lib/nss_mdns.so
 lib/nss_mdns.so.1
-man/man5/nss_mdns.conf.5.gz
+share/man/man5/nss_mdns.conf.5.gz
 %%EXAMPLESDIR%%/nss_mdns.conf