git: 30df8fdf0435 - main - net/onioncat: Sanitize MANPREFIX

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

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

commit 30df8fdf043524453dec0fb0a32b95f2ac120e2b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 20:22:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 20:24:11 +0000

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

diff --git a/net/onioncat/Makefile b/net/onioncat/Makefile
index 50df37f5e34b..2c6374ad112e 100644
--- a/net/onioncat/Makefile
+++ b/net/onioncat/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	onioncat
 DISTVERSION=	4.10.0
+PORTREVISION=	1
 CATEGORIES=	net security
 MASTER_SITES=	https://github.com/rahra/${PORTNAME}/releases/download/v${DISTVERSION}/
 
@@ -17,10 +18,10 @@ GNU_CONFIGURE=	yes
 
 USE_RC_SUBR=	${PORTNAME}
 
-PLIST_FILES=	bin/ocat man/man1/ocat.1.gz
+PLIST_FILES=	bin/ocat share/man/man1/ocat.1.gz
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/ocat ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/man/ocat.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/ocat.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>