ports/security/tscli/Makefile
Jesús Daniel Colmenares Oviedo e9e4828fc5 security/tscli: Update to 0.0.13
- Set version through ldflags.

ChangeLog: https://github.com/jaxxstorm/tscli/releases/tag/v0.0.13

Approved by:    acm (mentor)
2025-07-16 12:27:23 -04:00

22 lines
501 B
Makefile

PORTNAME= tscli
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.13
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>