Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2024 10:40:15 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 94a54ea6a54c - main - sysutils/ganglia-monitor-core: Move man pages to share/man
Message-ID:  <202403221040.42MAeFsZ005348@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

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

commit 94a54ea6a54c6e0c1936a586998b55dde5fcdf7a
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-22 09:43:17 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-22 10:39:42 +0000

    sysutils/ganglia-monitor-core: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/ganglia-monitor-core/Makefile  | 11 ++---------
 sysutils/ganglia-monitor-core/pkg-plist | 12 ++++++------
 2 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/sysutils/ganglia-monitor-core/Makefile b/sysutils/ganglia-monitor-core/Makefile
index 016be6e38b9b..30f1d143ddaa 100644
--- a/sysutils/ganglia-monitor-core/Makefile
+++ b/sysutils/ganglia-monitor-core/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	monitor-core
 PORTVERSION=	3.7.2
+PORTREVISION=	1
 CATEGORIES=	sysutils net
 MASTER_SITES=	SF/ganglia/ganglia%20monitoring%20core/${PORTVERSION}
 PKGNAMEPREFIX=	ganglia-
@@ -25,6 +26,7 @@ USE_LDCONFIG=	yes
 USE_RC_SUBR=	gmond
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--enable-setuid=ganglia --enable-setgid=ganglia \
 		--disable-python
 CONFIGURE_ENV=	GANGLIA_ACK_SYSCONFDIR=1
@@ -90,13 +92,6 @@ post-build:
 post-install:
 	${INSTALL_DATA} ${WRKDIR}/gmond.conf \
 		${STAGEDIR}${PREFIX}/etc/gmond.conf.sample
-	${INSTALL_MAN} \
-		${WRKSRC}/mans/gmetric.1 \
-		${WRKSRC}/mans/gmond.1 \
-		${WRKSRC}/mans/gstat.1 \
-		${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/gmond/gmond.conf.5 \
-		${STAGEDIR}${PREFIX}/man/man5
 	${MKDIR} ${STAGEDIR}/var/db/ganglia/rrds
 	@${CHMOD} -R a+rX ${STAGEDIR}/var/db/ganglia
 
@@ -105,7 +100,5 @@ post-install-GMETAD-on:
 		${STAGEDIR}${PREFIX}/sbin/gmetasnap
 	${INSTALL_DATA} ${WRKSRC}/gmetad/gmetad.conf \
 		${STAGEDIR}${PREFIX}/etc/gmetad.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/mans/gmetad.1 \
-		${STAGEDIR}${PREFIX}/man/man1
 
 .include <bsd.port.mk>
diff --git a/sysutils/ganglia-monitor-core/pkg-plist b/sysutils/ganglia-monitor-core/pkg-plist
index ce40b398ca03..790bb6aa1269 100644
--- a/sysutils/ganglia-monitor-core/pkg-plist
+++ b/sysutils/ganglia-monitor-core/pkg-plist
@@ -23,14 +23,14 @@ lib/libganglia.so.0
 lib/libganglia.so.0.0.0
 lib/libganglia.a
 lib/libganglia.so
-%%GMETAD%%man/man1/gmetad.1.gz
-%%GMETAD%%man/man1/gmetad.py.1.gz
-man/man1/gmetric.1.gz
-man/man1/gmond.1.gz
-man/man1/gstat.1.gz
-man/man5/gmond.conf.5.gz
 %%GMETAD%%sbin/gmetad
 %%GMETAD%%sbin/gmetasnap
 sbin/gmond
+%%GMETAD%%share/man/man1/gmetad.1.gz
+%%GMETAD%%share/man/man1/gmetad.py.1.gz
+share/man/man1/gmetric.1.gz
+share/man/man1/gmond.1.gz
+share/man/man1/gstat.1.gz
+share/man/man5/gmond.conf.5.gz
 @dir(ganglia,ganglia,) /var/db/ganglia/rrds
 @dir(ganglia,ganglia,) /var/db/ganglia



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403221040.42MAeFsZ005348>