git: df785ea37bb4 - main - net/nsscache: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 20:48:25 UTC
The branch main has been updated by bofh:

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

commit df785ea37bb472cb951fb197eacd096b1b5662f0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 20:36:53 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 20:48:10 +0000

    net/nsscache: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 net/nsscache/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/net/nsscache/Makefile b/net/nsscache/Makefile
index 080a609065e9..755de53f1b7b 100644
--- a/net/nsscache/Makefile
+++ b/net/nsscache/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nsscache
 PORTVERSION=	0.49
-PORTREVISION=	1
+PORTREVISION=	2
 DISTVERSIONPREFIX=	version/
 CATEGORIES=	net python
 
@@ -28,8 +28,8 @@ NO_ARCH=	yes
 
 PLIST_FILES=	'@dir /var/db/nsscache' \
 		'@sample etc/nsscache.conf.sample' \
-		man/man1/nsscache.1.gz \
-		man/man5/nsscache.conf.5.gz
+		share/man/man1/nsscache.1.gz \
+		share/man/man5/nsscache.conf.5.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc/nsscache.conf|${PREFIX}/etc/nsscache.conf|g' ${WRKSRC}/nss_cache/config.py
@@ -38,8 +38,8 @@ post-patch:
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/nsscache.conf ${STAGEDIR}${PREFIX}/etc/nsscache.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/nsscache.1 ${STAGEDIR}${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/nsscache.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5
+	${INSTALL_MAN} ${WRKSRC}/nsscache.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKSRC}/nsscache.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5
 	@${MKDIR} ${STAGEDIR}/var/db/nsscache
 
 do-test: