# -*- 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
PortGroup active_variants 1.1
maintainers {eborisch @eborisch} openmaintainer
license_noconflict openssl
description An open source application and network monitor
long_description Zabbix is the ultimate open source availability and \
performance monitoring solution. Zabbix offers advanced \
monitoring, alerting, and visualization features today \
which are missing in other monitoring systems, even some \
of the best commercial ones.
distname zabbix-${version}
livecheck.regex "Stable\/(4\.0\.\[0-9\]+)\/"
http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/
homepage http://www.zabbix.com/
sourceforge:project/zabbix/ZABBIX%20Latest%20Stable/${version} \
sourceforge:project/zabbix/ZABBIX%20Release%20Candidates/${version}
rmd160 6fa1b9eb6e4294f40c26348c9dd9ab8aa3296d79 \
sha256 c2eadece82865f281015dcd51fda8534d98ff3d80ded76b81368e528b87309e3 \
patchfiles log_and_pid_locations.patch \
subport zabbix4-frontend {}
configure.args --bindir=${prefix}/bin/zabbix \
--sbindir=${prefix}/sbin/zabbix \
--libexecdir=${prefix}/libexec/zabbix \
--datadir=${prefix}/share/zabbix \
--sysconfdir=${prefix}/etc/zabbix4 \
--localstatedir=${prefix}/var/zabbix \
--with-gnutls=${prefix} \
--with-libevent=${prefix} \
configure.ldflags-append -lresolv
if { ${subport} ne "zabbix4-frontend" } {
depends_lib-append port:libiconv \