# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description Extensible system monitoring tool
long_description Munin the monitoring tool surveys all your computers \
and remembers what it saw. It presents all the \
information in graphs through a web interface. Its \
emphasis is on plug and play capabilities. Using Munin \
you can easily monitor the performance of your \
computers, networks, SANs, applications, weather \
measurements and whatever comes to mind. \
Note: By default only Munin node is installed. To \
install the Munin server that gathers data from \
existing nodes and generates graphs please enable the \
homepage http://munin-monitoring.org/
master_sites sourceforge:project/munin/munin%20stable/${version}
checksums rmd160 b25c0a4d7d7613592757132290b7158228ea2a67 \
sha256 9a87356b1f8662f444a7a2a86ff36809124ffe787c442de0ea35850194d602af
depends_lib port:perl${perl5.major} \
port:p${perl5.major}-module-build \
port:p${perl5.major}-net-server \
port:p${perl5.major}-net-snmp \
port:p${perl5.major}-net-ssleay
# munindoc needs at least groff version 1.20.1 for good Unicode support.
patchfiles patch-Makefile-javaplugin \
patch-munin-node.conf.in \
reinplace "s|/usr/bin/perl|${perl5.bin}|" \
${worksrcpath}/master/_bin/munin-update.in \
${worksrcpath}/node/extras/munin-node-sched \
${worksrcpath}/node/extras/munin-node-simple.in \
${worksrcpath}/node/bin/munindoc \
${worksrcpath}/contrib/munin-every-services-all-boxes-build-html.in \
${worksrcpath}/node/sbin/munin-node \
${worksrcpath}/node/sbin/munin-node-configure \
${worksrcpath}/node/sbin/munin-run
# sed fails in Mountain Lion, see #36527
build.env LANG=C LC_ALL=C
build.args PREFIX=${prefix} \
CONFDIR=${prefix}/etc/munin \
DBDIR=${prefix}/var/munin \
LOGDIR=${prefix}/var/log/munin \
STATEDIR=${prefix}/var/run/munin \
MANDIR=${prefix}/share/man \
DOCDIR=${prefix}/share/doc/munin \
LIBDIR=${prefix}/lib/munin \
HTMLDIR=${prefix}/www/munin \
CGIDIR=${prefix}/www/cgi-bin \
destroot.args PREFIX=${destroot}${prefix} \
CONFDIR=${destroot}${prefix}/etc/munin \
DBDIR=${destroot}${prefix}/var/munin \
LOGDIR=${destroot}${prefix}/var/log/munin \
STATEDIR=${destroot}${prefix}/var/run \
MANDIR=${destroot}${prefix}/share/man \
DOCDIR=${destroot}${prefix}/share/doc/munin \
LIBDIR=${destroot}${prefix}/lib/munin \
HTMLDIR=${destroot}${prefix}/www/munin \
CGIDIR=${destroot}${prefix}/www/cgi-bin \