forked from Lainports/freebsd-ports
Changes: https://github.com/tailscale/tailscale/releases/tag/v1.20.2 https://github.com/tailscale/tailscale/releases/tag/v1.20.3
29 lines
625 B
Makefile
29 lines
625 B
Makefile
PORTNAME= tailscale
|
|
PORTVERSION= 1.20.3
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= mikael@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>
|