aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/pushgateway/Makefile
blob: 7ebe62e845083b72f341125bc88ae08b13ed609a (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
PORTNAME=	pushgateway
DISTVERSIONPREFIX=	v
DISTVERSION=	1.8.0
PORTREVISION=	2
CATEGORIES=	net-mgmt

MAINTAINER=	dutra@FreeBSD.org
COMMENT=	Prometheus push acceptor for ephemeral and batch jobs
WWW=		https://github.com/prometheus/pushgateway

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		gmake go:1.21,modules
GO_MODULE=	github.com/prometheus/pushgateway

USE_RC_SUBR=	pushgateway

USERS=		prometheus
GROUPS=		prometheus

PLIST_FILES=	bin/pushgateway

do-test:
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GMAKE} test)

.include <bsd.port.mk>