git: d0f79afd7c10 - main - net/quagga: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 15:51:14 UTC
The branch main has been updated by bofh:

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

commit d0f79afd7c105aa948e472258aa3c568c1ab0f1d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 15:06:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 15:50:45 +0000

    net/quagga: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 net/quagga/Makefile  |  7 ++++---
 net/quagga/pkg-plist | 22 +++++++++++-----------
 2 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index 84eeeebf2b27..9417f6677533 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	quagga
 PORTVERSION=	1.2.4
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/Quagga/quagga/releases/download/${DISTNAME}/ \
 		http://www.grosbein.net/freebsd/distfiles/ \
@@ -18,6 +18,7 @@ USES=		compiler:c11 cpe gmake libtool makeinfo \
 
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV+=	GAWK=${AWK}
 
 CFLAGS+=	-fcommon
@@ -121,8 +122,8 @@ USE_LDCONFIG=		yes
 PKGNAMESUFFIX=		-compat
 QPREFIX=		${PREFIX}/${PORTNAME}
 GNU_CONFIGURE_PREFIX=	${QPREFIX}
-MANPREFIX=		${QPREFIX}
-MANDIRS=		${QPREFIX}/man
+GNU_CONFIGURE_MANPREFIX=	${QPREFIX}/share
+MANDIRS=		${QPREFIX}/share/man
 USE_LDCONFIG=		${QPREFIX}/lib
 CONFIGURE_ARGS+=	--datarootdir=${QPREFIX} \
 			--bindir=${PREFIX}/bin \
diff --git a/net/quagga/pkg-plist b/net/quagga/pkg-plist
index a5f68a9cbc8e..2370af388090 100644
--- a/net/quagga/pkg-plist
+++ b/net/quagga/pkg-plist
@@ -74,17 +74,17 @@ include/quagga/zebra.h
 %%N%%lib/libzebra.so
 %%N%%lib/libzebra.so.1
 %%N%%lib/libzebra.so.1.0.0
-%%N%%man/man1/vtysh.1.gz
-%%N%%man/man8/bgpd.8.gz
-%%ISISD%%%%N%%man/man8/isisd.8.gz
-%%N%%man/man8/ospf6d.8.gz
-%%N%%man/man8/ospfclient.8.gz
-%%N%%man/man8/ospfd.8.gz
-%%PIMD%%%%N%%man/man8/pimd.8.gz
-%%N%%man/man8/ripd.8.gz
-%%N%%man/man8/ripngd.8.gz
-%%N%%man/man8/watchquagga.8.gz
-%%N%%man/man8/zebra.8.gz
+%%N%%share/man/man1/vtysh.1.gz
+%%N%%share/man/man8/bgpd.8.gz
+%%ISISD%%%%N%%share/man/man8/isisd.8.gz
+%%N%%share/man/man8/ospf6d.8.gz
+%%N%%share/man/man8/ospfclient.8.gz
+%%N%%share/man/man8/ospfd.8.gz
+%%PIMD%%%%N%%share/man/man8/pimd.8.gz
+%%N%%share/man/man8/ripd.8.gz
+%%N%%share/man/man8/ripngd.8.gz
+%%N%%share/man/man8/watchquagga.8.gz
+%%N%%share/man/man8/zebra.8.gz
 %%N%%sbin/bgpd
 %%ISISD%%%%N%%sbin/isisd
 %%N%%sbin/ospf6d