Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2024 09:52:17 GMT
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f87c4b079a55 - main - net-mgmt/rrdbot: moved manpages to share/man
Message-ID:  <202403040952.4249qHDe000139@gitrepo.freebsd.org>

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

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

commit f87c4b079a559ee9ded1827736dc87bd63946444
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-02-28 18:18:16 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-03-04 09:50:43 +0000

    net-mgmt/rrdbot:  moved manpages to share/man
    
    Set GNU_CONFIGURE_MANPREFIX and fix plist
    Fix formatting to make linters happy
---
 net-mgmt/rrdbot/Makefile  | 22 ++++++++++++----------
 net-mgmt/rrdbot/pkg-plist |  8 ++++----
 2 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/net-mgmt/rrdbot/Makefile b/net-mgmt/rrdbot/Makefile
index 2817af97dd6b..15dec0c7fc29 100644
--- a/net-mgmt/rrdbot/Makefile
+++ b/net-mgmt/rrdbot/Makefile
@@ -1,27 +1,29 @@
 PORTNAME=	rrdbot
 PORTVERSION=	0.9.7.d20200312
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	rodrigo@FreeBSD.org
 COMMENT=	Threaded SNMP polling daemon which stores data in RRDs
 WWW=		https://github.com/REANNZ/rrdbot/
 
-LIB_DEPENDS=	librrd.so:databases/rrdtool
-
-USES=		autoreconf
-
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include \
-			--datarootdir=${PREFIX}/share/rrdbot
-
-SUB_FILES=	pkg-message
-USE_RC_SUBR=	rrdbot
+LIB_DEPENDS=	librrd.so:databases/rrdtool
 
+USES=		autoreconf
 USE_GITHUB=	YES
 GH_ACCOUNT=	REANNZ
 GH_TAGNAME=	396ca60
+USE_RC_SUBR=	rrdbot
+
+GNU_CONFIGURE=			yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+CONFIGURE_ARGS=			--datarootdir=${PREFIX}/share/rrdbot \
+				--includedir=${LOCALBASE}/include \
+				--libdir=${LOCALBASE}/lib
+
+SUB_FILES=	pkg-message
 
 .if defined(WITH_DEBUG)
 CONFIGURE_ARGS+=	--enable-debug
diff --git a/net-mgmt/rrdbot/pkg-plist b/net-mgmt/rrdbot/pkg-plist
index 9c3fc243f7f0..57b03d2cadf1 100644
--- a/net-mgmt/rrdbot/pkg-plist
+++ b/net-mgmt/rrdbot/pkg-plist
@@ -56,8 +56,8 @@ sbin/rrdbotd
 %%DATADIR%%/mib/UCD-SNMP-MIB.txt
 %%DATADIR%%/mib/TCP-MIB.txt
 %%DATADIR%%/mib/UDP-MIB.txt
-man/man1/rrdbot-get.1.gz
-man/man5/rrdbot.conf.5.gz
-man/man8/rrdbot-create.8.gz
-man/man8/rrdbotd.8.gz
+share/man/man1/rrdbot-get.1.gz
+share/man/man5/rrdbot.conf.5.gz
+share/man/man8/rrdbot-create.8.gz
+share/man/man8/rrdbotd.8.gz
 @dir %%ETCDIR%%



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