git: 43ea38e8d62d - main - net-mgmt/cacti-spine: Moved man to share/man

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

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

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

    net-mgmt/cacti-spine: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net-mgmt/cacti-spine/Makefile  | 4 +++-
 net-mgmt/cacti-spine/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-mgmt/cacti-spine/Makefile b/net-mgmt/cacti-spine/Makefile
index 5562b4532ec2..2b4a5bdff6d5 100644
--- a/net-mgmt/cacti-spine/Makefile
+++ b/net-mgmt/cacti-spine/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	spine
 PORTVERSION=	1.2.26
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://www.cacti.net/downloads/${PORTNAME}/
 DISTNAME=	cacti-${PORTNAME}-${PORTVERSION}
@@ -15,7 +16,8 @@ BUILD_DEPENDS=	help2man:misc/help2man
 LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp \
 		libpkg.so:${PKG_ORIGIN}
 
-GNU_CONFIGURE=	YES
+GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE}
 CPPFLAGS+=	`net-snmp-config --cflags`
 LDFLAGS+=	`net-snmp-config --libs` -lexecinfo
diff --git a/net-mgmt/cacti-spine/pkg-plist b/net-mgmt/cacti-spine/pkg-plist
index 64eda3e404fa..d4de71d5b100 100644
--- a/net-mgmt/cacti-spine/pkg-plist
+++ b/net-mgmt/cacti-spine/pkg-plist
@@ -1,3 +1,3 @@
 bin/spine
 @sample etc/spine.conf.sample
-man/man1/spine.1.gz
+share/man/man1/spine.1.gz