git: eb4715524fa0 - main - net/netcat: Sanitize MANPREFIX

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

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

commit eb4715524fa00fe1210a2a37c0acfd5c11aa243e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 20:45:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 20:48:12 +0000

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

diff --git a/net/netcat/Makefile b/net/netcat/Makefile
index 86b96afd4ae0..d793d4d75179 100644
--- a/net/netcat/Makefile
+++ b/net/netcat/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	netcat
 PORTVERSION=	1.10
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net
 MASTER_SITES=	SF/${DISTNAME}/unix%20netcat%20${PORTVERSION}%20by%20_Hobbit_/%5BUnnamed%20release%5D
 DISTNAME=	nc${PORTVERSION:S/.//}
@@ -21,7 +21,7 @@ CFLAGS+=	-D${OPSYS:tu} -Wno-int-conversion
 LDFLAGS+=	-static
 
 PORTDOCS=	README
-PLIST_FILES=	bin/netcat man/man1/netcat.1.gz
+PLIST_FILES=	bin/netcat share/man/man1/netcat.1.gz
 
 OPTIONS_DEFINE=	IPV6 TELNET GAPING DOCS
 OPTIONS_DEFAULT=TELNET GAPING
@@ -41,7 +41,7 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}