aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2024-02-28 18:18:16 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2024-03-04 09:50:43 +0000
commitf87c4b079a559ee9ded1827736dc87bd63946444 (patch)
treeef3d3fa7f7f33edf65eaaf112de0fa52971dea6c
parenta810370066adf6a2532992837d1672c2d1d4fe15 (diff)
downloadports-f87c4b079a559ee9ded1827736dc87bd63946444.tar.gz
ports-f87c4b079a559ee9ded1827736dc87bd63946444.zip
net-mgmt/rrdbot: moved manpages to share/man
Set GNU_CONFIGURE_MANPREFIX and fix plist Fix formatting to make linters happy
-rw-r--r--net-mgmt/rrdbot/Makefile22
-rw-r--r--net-mgmt/rrdbot/pkg-plist8
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%%