summaryrefslogtreecommitdiff
path: root/security/tscli/Makefile
blob: b067071dda5a65aa81d46f174dd858f48d26f138 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PORTNAME=	tscli
DISTVERSIONPREFIX=	v
DISTVERSION=	0.0.15
PORTREVISION=	7
CATEGORIES=	security

MAINTAINER=	dtxdf@FreeBSD.org
COMMENT=	CLI tool to interact with the Tailscale API
WWW=		https://github.com/jaxxstorm/tscli

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
GO_MODULE=	github.com/jaxxstorm/tscli
GO_TARGET=	./cmd/tscli:tscli
GO_BUILDFLAGS=	-ldflags "\
			-X 'github.com/jaxxstorm/tscli/pkg/version.Version=${DISTVERSIONPREFIX}${DISTVERSION}'"

PLIST_FILES=	bin/tscli

.include <bsd.port.mk>