Skip to content

Commit

Permalink
net-mgmt/rrdbot: moved manpages to share/man
Browse files Browse the repository at this point in the history
Set GNU_CONFIGURE_MANPREFIX and fix plist
Fix formatting to make linters happy
  • Loading branch information
rosorio committed Mar 4, 2024
1 parent a810370 commit f87c4b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
22 changes: 12 additions & 10 deletions 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
Expand Down
8 changes: 4 additions & 4 deletions net-mgmt/rrdbot/pkg-plist
Expand Up @@ -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%%

0 comments on commit f87c4b0

Please sign in to comment.