mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
29 lines
625 B
Makefile
29 lines
625 B
Makefile
PORTNAME= tailscale
|
|
PORTVERSION= 1.22.1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= ashish@FreeBSD.org
|
|
COMMENT= Mesh VPN that makes it easy to connect your devices
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss
|
|
|
|
USES= go:modules
|
|
|
|
GO_MODULE= github.com/tailscale/tailscale
|
|
|
|
USE_RC_SUBR= tailscaled
|
|
|
|
GO_TARGET= ./cmd/tailscale \
|
|
./cmd/tailscaled
|
|
GO_BUILDFLAGS= -tags xversion -ldflags "\
|
|
-X tailscale.com/version.Long=${PORTVERSION} \
|
|
-X tailscale.com/version.Short=${PORTVERSION}"
|
|
|
|
PLIST_FILES= bin/tailscale \
|
|
bin/tailscaled
|
|
|
|
.include <bsd.port.mk>
|