# -*- 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
github.setup prometheus alertmanager 0.19.0 v
github.tarball_from archive
description The Alertmanager handles alerts sent by client \
applications such as the Prometheus server.
long_description AlertManager takes care of deduplicating, grouping, and \
routing them to the correct receiver integration such as \
email, PagerDuty, or OpsGenie. It also takes care of \
silencing and inhibition of alerts.
homepage https://prometheus.io/docs/alerting/alertmanager/
maintainers {gmail.com:herbygillot @herbygillot} openmaintainer
build.env GOPATH=${workpath} \
PATH=${workpath}/bin:$env(PATH)
distfiles alertmanager-${version}${extract.suffix}:main
checksums rmd160 c19ed98763ca6ff3e6ed131a3f2d2fb0c4c653e6 \
sha256 4730664f746173f89804df43b3f608cac030e79baae165d6d99df472eb52d36a \
set svc_name prometheus-alertmanager
set am_config_dir ${prefix}/etc/${svc_name}
set am_config_file ${am_config_dir}/config.yml
set am_data_dir ${prefix}/var/db/${svc_name}
set am_share_dir ${prefix}/share/${svc_name}
set am_log_dir ${prefix}/var/log/${svc_name}
set am_log_file ${am_log_dir}/${name}.log
xinstall -d ${workpath}/bin
ln -s ${prefix}/bin/promu ${workpath}/bin/
copy ${filespath}/org.macports.${name}.plist \
${workpath}/org.macports.${name}.plist