git: 40c15ef65fcd - main - net-mgmt/bgpq3: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 22:18:09 UTC
The branch main has been updated by bofh:

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

commit 40c15ef65fcd81239bb1085a3781cdf103c39c74
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 22:08:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 22:17:43 +0000

    net-mgmt/bgpq3: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net-mgmt/bgpq3/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-mgmt/bgpq3/Makefile b/net-mgmt/bgpq3/Makefile
index 32dd95d251bf..1a1fbf4d7d34 100644
--- a/net-mgmt/bgpq3/Makefile
+++ b/net-mgmt/bgpq3/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	bgpq3
 PORTVERSION=	0.1.36
+PORTREVISION=	1
 DISTVERSIONPREFIX=v
 CATEGORIES=	net-mgmt
 
@@ -14,8 +15,11 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	snar
 
 PLIST_FILES=	bin/bgpq3 \
-		man/man8/bgpq3.8.gz
+		share/man/man8/bgpq3.8.gz
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS+=--prefix=${STAGEDIR}${PREFIX}
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|man/man8|share/man/man8|' ${WRKSRC}/Makefile.in
+
 .include <bsd.port.mk>