git: 4ba21e6a697c - main - net/frr8: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 12:16:36 UTC
The branch main has been updated by yasu:

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

commit 4ba21e6a697ce8ee833f039d5a52fa1103933b00
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-19 11:19:36 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-19 12:16:13 +0000

    net/frr8: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/frr8/Makefile  |  2 ++
 net/frr8/pkg-plist | 30 +++++++++++++++---------------
 2 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/net/frr8/Makefile b/net/frr8/Makefile
index 39ad131a4cd7..3593500a226b 100644
--- a/net/frr8/Makefile
+++ b/net/frr8/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	frr
 PORTVERSION=	8.5.4
+PORTREVISION=	1
 DISTVERSIONPREFIX=	frr-
 CATEGORIES=	net
 .if defined(PYTHONTOOLS)
@@ -48,6 +49,7 @@ BINARY_ALIAS=	python=${PYTHON_VERSION}
 CONFLICTS=	frr9 openbgpd openospfd quagga zebra
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 .endif
diff --git a/net/frr8/pkg-plist b/net/frr8/pkg-plist
index 8b2515a2ef04..a1c87cbbf028 100644
--- a/net/frr8/pkg-plist
+++ b/net/frr8/pkg-plist
@@ -158,21 +158,21 @@ lib/libfrrcares.so.0.0.0
 %%SNMP%%lib/frr/modules/ripd_snmp.so
 %%FPM%%lib/frr/modules/zebra_fpm.so
 %%SNMP%%lib/frr/modules/zebra_snmp.so
-%%MANPAGES%%man/man1/frr.1.gz
-%%MANPAGES%%man/man1/vtysh.1.gz
-%%MANPAGES%%man/man8/frr-bfdd.8.gz
-%%MANPAGES%%man/man8/frr-bgpd.8.gz
-%%MANPAGES%%man/man8/frr-eigrpd.8.gz
-%%MANPAGES%%man/man8/frr-isisd.8.gz
-%%MANPAGES%%%%LDPD%%man/man8/frr-ldpd.8.gz
-%%MANPAGES%%man/man8/frr-ospf6d.8.gz
-%%MANPAGES%%man/man8/frr-ospfd.8.gz
-%%MANPAGES%%man/man8/frr-ripd.8.gz
-%%MANPAGES%%man/man8/frr-ripngd.8.gz
-%%MANPAGES%%%%SHARPD%%man/man8/frr-sharpd.8.gz
-%%MANPAGES%%man/man8/frr-staticd.8.gz
-%%MANPAGES%%man/man8/frr-watchfrr.8.gz
-%%MANPAGES%%man/man8/frr-zebra.8.gz
+%%MANPAGES%%share/man/man1/frr.1.gz
+%%MANPAGES%%share/man/man1/vtysh.1.gz
+%%MANPAGES%%share/man/man8/frr-bfdd.8.gz
+%%MANPAGES%%share/man/man8/frr-bgpd.8.gz
+%%MANPAGES%%share/man/man8/frr-eigrpd.8.gz
+%%MANPAGES%%share/man/man8/frr-isisd.8.gz
+%%MANPAGES%%%%LDPD%%share/man/man8/frr-ldpd.8.gz
+%%MANPAGES%%share/man/man8/frr-ospf6d.8.gz
+%%MANPAGES%%share/man/man8/frr-ospfd.8.gz
+%%MANPAGES%%share/man/man8/frr-ripd.8.gz
+%%MANPAGES%%share/man/man8/frr-ripngd.8.gz
+%%MANPAGES%%%%SHARPD%%share/man/man8/frr-sharpd.8.gz
+%%MANPAGES%%share/man/man8/frr-staticd.8.gz
+%%MANPAGES%%share/man/man8/frr-watchfrr.8.gz
+%%MANPAGES%%share/man/man8/frr-zebra.8.gz
 sbin/babeld
 sbin/bfdd
 sbin/bgpd