summaryrefslogtreecommitdiff
path: root/net-mgmt/promscale/Makefile
blob: 05dfb381383ab78aeb2d1abd5180c4c6eb78fd2e (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
32
33
PORTNAME=	promscale
DISTVERSION=	0.17.0
PORTREVISION=	12
CATEGORIES=	net-mgmt
MASTER_SITES=   https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod
DISTFILES=      go.mod:gomod

MAINTAINER=	feld@FreeBSD.org
COMMENT=	Timescale analytical platform for Prometheus metrics
WWW=		https://www.timescale.com/promscale

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules

USE_RC_SUBR?=	${PORTNAME}

USERS=          promscale
GROUPS=         ${USERS}

SUB_LIST?=	USERS=${USERS} GROUPS=${GROUPS}

USE_GITHUB=	yes
GH_ACCOUNT=	timescale
GH_PROJECT=	promscale

GO_MODULE=	github.com/timescale/promscale
GO_TARGET=	./cmd/promscale

PLIST_FILES=	bin/promscale

.include <bsd.port.mk>