blob: ff8847e350d1ac14b810aef9c74e84e966107141 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
PORTNAME= alertmanager
PORTVERSION= 0.23.0
DISTVERSIONPREFIX= v
PORTREVISION= 14
CATEGORIES= net-mgmt
MAINTAINER= michal@hanu.la
COMMENT= Alert routing for Prometheus
WWW= https://prometheus.io/docs/alerting/alertmanager/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
GO_MODULE= github.com/prometheus/alertmanager
USE_RC_SUBR= alertmanager
GO_TARGET= ./cmd/alertmanager ./cmd/amtool
USERS= alertmanager
GROUPS= alertmanager
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/alertmanager
${INSTALL_DATA} \
${WRKSRC}/doc/examples/simple.yml \
${STAGEDIR}${PREFIX}/etc/alertmanager/alertmanager.yml.sample
.include <bsd.port.mk>
|