git: 0a563fcbcd27 - main - security/n2n: Sanitize MANPREFIX

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

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

commit 0a563fcbcd279e0f2091d0f87b60ca69fe38faa3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:41:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:51:35 +0000

    security/n2n: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 security/n2n/Makefile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/security/n2n/Makefile b/security/n2n/Makefile
index beb65cb6c88e..a5282f70ff84 100644
--- a/security/n2n/Makefile
+++ b/security/n2n/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	n2n
 PORTVERSION=	${PORT_V_MAJOR}.${PORT_V_MINOR}
+PORTREVISION=	1
 CATEGORIES=	security net net-vpn
 
 MAINTAINER=	farrokhi@FreeBSD.org
@@ -23,9 +24,9 @@ GH_ACCOUNT=	ntop
 
 PLIST_FILES=	sbin/edge \
 		sbin/supernode \
-		man/man1/supernode.1.gz \
-		man/man7/n2n.7.gz \
-		man/man8/edge.8.gz
+		share/man/man1/supernode.1.gz \
+		share/man/man7/n2n.7.gz \
+		share/man/man8/edge.8.gz
 
 LIB_DEPENDS+=	libzstd.so:archivers/zstd
 
@@ -39,8 +40,8 @@ post-patch:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/edge ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_PROGRAM} ${WRKSRC}/supernode ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/edge.8 ${STAGEDIR}${MANPREFIX}/man/man8
-	${INSTALL_MAN} ${WRKSRC}/supernode.1 ${STAGEDIR}${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/n2n.7 ${STAGEDIR}${MANPREFIX}/man/man7
+	${INSTALL_MAN} ${WRKSRC}/edge.8 ${STAGEDIR}${PREFIX}/share/man/man8
+	${INSTALL_MAN} ${WRKSRC}/supernode.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKSRC}/n2n.7 ${STAGEDIR}${PREFIX}/share/man/man7
 
 .include <bsd.port.mk>