git: e2216da9e793 - main - net-mgmt/bpft: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Thu, 14 Mar 2024 13:14:32 UTC
The branch main has been updated by naddy:

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

commit e2216da9e793f312605d91b3720f3433b2e37ad1
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-14 12:29:04 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-14 12:29:04 +0000

    net-mgmt/bpft: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net-mgmt/bpft/Makefile  | 8 +++++---
 net-mgmt/bpft/pkg-plist | 8 ++++----
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/net-mgmt/bpft/Makefile b/net-mgmt/bpft/Makefile
index da8a9d29b50c..7d5ac353547c 100644
--- a/net-mgmt/bpft/Makefile
+++ b/net-mgmt/bpft/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bpft
 PORTVERSION=	4.20040506
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/${PORTNAME}4/${PORTNAME}4/${PORTNAME}4-snapshot
 DISTNAME=	${PORTNAME}4-2004-05-06
@@ -16,8 +16,10 @@ CONFLICTS=	trafd-3.0.*
 
 USES=		ncurses tar:tgz
 WRKSRC=		${WRKDIR}/${PORTNAME}
-MAKE_ARGS=	INSTALL_FILE="${INSTALL_DATA}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
-		INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+MAKE_ARGS=	INSTALL_FILE="${INSTALL_DATA}" \
+		INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+		INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
+		PREFIX_MANPAGES="${PREFIX}/share/man/man"
 MAKE_JOBS_UNSAFE=	yes
 
 OPTIONS_DEFINE=	DOCS
diff --git a/net-mgmt/bpft/pkg-plist b/net-mgmt/bpft/pkg-plist
index 11ca6cbd6e9f..9fbd65888ce1 100644
--- a/net-mgmt/bpft/pkg-plist
+++ b/net-mgmt/bpft/pkg-plist
@@ -6,12 +6,12 @@ bin/trafstat
 bin/trafstop
 etc/rc.d/trafd.sh
 etc/traflog.format
-man/man1/traflog.1.gz
-man/man1/trafstat.1.gz
-man/man8/trafd.8.gz
-man/man8/trafstatd.8.gz
 sbin/trafd
 sbin/trafstatd
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/WhatsNew
+share/man/man1/traflog.1.gz
+share/man/man1/trafstat.1.gz
+share/man/man8/trafd.8.gz
+share/man/man8/trafstatd.8.gz
 @dir var/bpft