git: 1e02072eb8be - main - net-mgmt/iftop: Sanitize MANPREFIX

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

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

commit 1e02072eb8be2f48ba98b44422626f540ef818b3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 21:48:12 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:32:09 +0000

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

diff --git a/net-mgmt/iftop/Makefile b/net-mgmt/iftop/Makefile
index d1f9e3f2c103..6f9607a50379 100644
--- a/net-mgmt/iftop/Makefile
+++ b/net-mgmt/iftop/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	iftop
 DISTVERSION=	1.0pre4
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://www.ex-parrot.com/~pdw/iftop/download/
 
@@ -13,13 +14,13 @@ USES=		ncurses
 GNU_CONFIGURE=	yes
 
 PORTDOCS=	README
-PLIST_FILES=	sbin/iftop man/man8/iftop.8.gz
+PLIST_FILES=	sbin/iftop share/man/man8/iftop.8.gz
 
 OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/share/man/man8
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}