summaryrefslogtreecommitdiff
path: root/databases/influxdb2-cli/Makefile
blob: b007618d56764ee24c1ed794b6933cecd25a8e43 (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
PORTNAME=	influxdb2-cli
DISTVERSIONPREFIX=	v
DISTVERSION=	2.7.3
PORTREVISION=	8
CATEGORIES=	databases net-mgmt

MAINTAINER=	driesm@FreeBSD.org
COMMENT=	CLI for managing resources in InfluxDB v2
WWW=		https://github.com/influxdata/influx-cli

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
USE_GITHUB=	nodefault
GH_TUPLE=	golang:sys:v0.6.0:sys

GO_MODULE=	github.com/influxdata/influx-cli/v2
GO_TARGET=	./cmd/influx

CONFLICTS_INSTALL=	influxdb

PLIST_FILES=	bin/influx

pre-patch:
	${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
	${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys

.include <bsd.port.mk>