blob: e9381ed557eed86af74b5e70793bf286a0ad24cc (
plain)
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
31
|
# Created by: Michal Hanula <michal@hanu.la>
PORTNAME= alertmanager
PORTVERSION= 0.23.0
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= net-mgmt
MAINTAINER= michal@hanu.la
COMMENT= Alert routing for Prometheus
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>
|