git: 93795f8cf7fa - main - net/hping3: Sanitize MANPREFIX

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

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

commit 93795f8cf7fa8792d06c8a13d34ac31805a3354c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 15:54:54 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 16:52:30 +0000

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

diff --git a/net/hping3/Makefile b/net/hping3/Makefile
index 14c390d22a5b..b4e4fc7c85dc 100644
--- a/net/hping3/Makefile
+++ b/net/hping3/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	hping3
 PORTVERSION=	20051105
+PORTREVISION=	1
 CATEGORIES=	net security
 MASTER_SITES=	http://www.hping.org/ \
 		http://200ok.org/distfiles/hping/
@@ -31,7 +32,7 @@ MAN_DESC=		Install manual page
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMAN}
-PLIST_FILES+=	man/man8/${PORTNAME}.8.gz
+PLIST_FILES+=	share/man/man8/${PORTNAME}.8.gz
 .endif
 
 .if ${PORT_OPTIONS:MTCL}
@@ -54,6 +55,6 @@ do-install-DOCS-on:
 
 do-install-MAN-on:
 	${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.8 \
-		${STAGEDIR}${MANPREFIX}/man/man8/${PORTNAME}.8
+		${STAGEDIR}${PREFIX}/share/man/man8/${PORTNAME}.8
 
 .include <bsd.port.mk>