94a3437c9b
- update 0.20.0 - fix build on aarch64 PR: 245350 Approved by: michal@hanu.la (maintainer)
31 lines
647 B
Makefile
31 lines
647 B
Makefile
# Created by: Michal Hanula <michal@hanu.la>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= alertmanager
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.20.0
|
|
CATEGORIES= net-mgmt
|
|
|
|
MAINTAINER= michal@hanu.la
|
|
COMMENT= Alert routing for prometheus
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake go:modules
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= prometheus
|
|
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>
|