git: b7a99094c50f - main - net-mgmt/zabbix64-server: Move manpages to PREFIX/share/man

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Wed, 07 Feb 2024 13:08:50 UTC
The branch main has been updated by otis:

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

commit b7a99094c50f80a858ffe070e4faaa25f55ad996
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2024-02-07 10:43:52 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2024-02-07 13:08:21 +0000

    net-mgmt/zabbix64-server: Move manpages to PREFIX/share/man
---
 net-mgmt/zabbix64-server/Makefile        | 3 ++-
 net-mgmt/zabbix64-server/pkg-plist       | 2 +-
 net-mgmt/zabbix64-server/pkg-plist.agent | 6 +++---
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/net-mgmt/zabbix64-server/Makefile b/net-mgmt/zabbix64-server/Makefile
index 393865e1381a..cc15950110c7 100644
--- a/net-mgmt/zabbix64-server/Makefile
+++ b/net-mgmt/zabbix64-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	zabbix64
 DISTVERSION=	6.4.11
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/
 PKGNAMESUFFIX?=	-server
@@ -51,6 +51,7 @@ SUB_LIST=	ZABBIX_BUILD=${ZABBIX_BUILD}
 
 MAKE_ARGS+=		ARCH=freebsd
 GNU_CONFIGURE=		yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS+=	--datadir=${ETCDIR} \
 			--enable-${ZABBIX_BUILD} \
 			--sysconfdir=${ETCDIR} \
diff --git a/net-mgmt/zabbix64-server/pkg-plist b/net-mgmt/zabbix64-server/pkg-plist
index 91d7a4ad5370..3863bbb3477c 100644
--- a/net-mgmt/zabbix64-server/pkg-plist
+++ b/net-mgmt/zabbix64-server/pkg-plist
@@ -34,7 +34,7 @@
 %%SERVER%%bin/zabbix_js
 %%SERVER%%@dir %%ETCDIR%%/zabbix_server.conf.d
 %%SERVER%%@dir %%ETCDIR%%/zabbix/alertscripts
-man/man8/zabbix_%%ZABBIX_BUILD%%.8.gz
+share/man/man8/zabbix_%%ZABBIX_BUILD%%.8.gz
 sbin/zabbix_%%ZABBIX_BUILD%%
 @dir %%ETCDIR%%/zabbix/externalscripts
 @dir lib/modules
diff --git a/net-mgmt/zabbix64-server/pkg-plist.agent b/net-mgmt/zabbix64-server/pkg-plist.agent
index e2e36a7e7499..dea488b30253 100644
--- a/net-mgmt/zabbix64-server/pkg-plist.agent
+++ b/net-mgmt/zabbix64-server/pkg-plist.agent
@@ -1,9 +1,9 @@
 @sample %%ETCDIR%%/zabbix_agentd.conf.sample
 bin/zabbix_get
 bin/zabbix_sender
-man/man1/zabbix_get.1.gz
-man/man1/zabbix_sender.1.gz
-man/man8/zabbix_%%ZABBIX_BUILD%%d.8.gz
+share/man/man1/zabbix_get.1.gz
+share/man/man1/zabbix_sender.1.gz
+share/man/man8/zabbix_%%ZABBIX_BUILD%%d.8.gz
 sbin/zabbix_agentd
 @dir %%ETCDIR%%/zabbix_agentd.conf.d
 @dir lib/modules