summaryrefslogtreecommitdiff
path: root/security/tscli/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/tscli/Makefile')
-rw-r--r--security/tscli/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/security/tscli/Makefile b/security/tscli/Makefile
new file mode 100644
index 000000000000..6ec2f243475d
--- /dev/null
+++ b/security/tscli/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= tscli
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.0.15
+PORTREVISION= 1
+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>