git: 47c9ddfe9b09 - main - security/snowflake-tor: Sanitize MANPREFIX

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

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

commit 47c9ddfe9b090372316209922782eaadfd259024
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:31:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:32:12 +0000

    security/snowflake-tor: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 security/snowflake-tor/Makefile  | 6 +++---
 security/snowflake-tor/pkg-plist | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/security/snowflake-tor/Makefile b/security/snowflake-tor/Makefile
index 126e9cf9afc6..054baa9550c8 100644
--- a/security/snowflake-tor/Makefile
+++ b/security/snowflake-tor/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=		snowflake
 DISTVERSIONPREFIX=	v
 PORTVERSION=		2.5.1
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=		security net
 PKGNAMESUFFIX=		-tor
 
@@ -60,9 +60,9 @@ post-patch:
 	  ${WRKDIR}/${GO_MODULE}@v${PORTVERSION}/broker/broker.go
 
 post-install:
-	${MKDIR} ${STAGEDIR}/${MANPREFIX}/man/man1
+	${MKDIR} ${STAGEDIR}/${PREFIX}/share/man/man1
 .	for b in client proxy
-	  ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}-$b.1 ${STAGEDIR}/${MANPREFIX}/man/man1
+	  ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}-$b.1 ${STAGEDIR}/${PREFIX}/share/man/man1
 	  ${MV} ${STAGEDIR}/${PREFIX}/bin/$b ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}-$b
 .	endfor
 	${MV} ${STAGEDIR}/${PREFIX}/bin/broker ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}-broker
diff --git a/security/snowflake-tor/pkg-plist b/security/snowflake-tor/pkg-plist
index cbb389b75e78..8fd2d1b0dd43 100644
--- a/security/snowflake-tor/pkg-plist
+++ b/security/snowflake-tor/pkg-plist
@@ -2,5 +2,5 @@ bin/snowflake
 bin/snowflake-broker
 bin/snowflake-client
 bin/snowflake-proxy
-%%MANPAGES%%man/man1/snowflake-client.1.gz
-%%MANPAGES%%man/man1/snowflake-proxy.1.gz
+%%MANPAGES%%share/man/man1/snowflake-client.1.gz
+%%MANPAGES%%share/man/man1/snowflake-proxy.1.gz