freebsd-ports/net-mgmt/alertmanager/Makefile
Vanilla I. Shu c73261c916 net-mgmt/alertmanager: update to 0.23.0.
PR:		258602
Reported by:	maintainer
2021-09-20 11:39:01 +08:00

30 lines
637 B
Makefile

# Created by: Michal Hanula <michal@hanu.la>
PORTNAME= alertmanager
PORTVERSION= 0.23.0
DISTVERSIONPREFIX= v
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>