openbsd-ports/net/tailscale/Makefile
2023-01-04 21:19:29 +00:00

33 lines
581 B
Makefile

BROKEN-i386 = unix.EPROTO not defined
COMMENT = modern overlay-like VPN built on top of WireGuard
V = 1.34.2
MODGO_MODNAME = tailscale.com
MODGO_VERSION = v${V}
DISTNAME = tailscale.com-${MODGO_VERSION}
PKGNAME = tailscale-${V}
CATEGORIES = net
HOMEPAGE = https://tailscale.com/
MAINTAINER = Aaron Bieber <abieber@openbsd.org>
# BSD-3
PERMIT_PACKAGE = Yes
WANTLIB += c pthread
MODULES = lang/go
MODGO_LDFLAGS += -X tailscale.com/version.Long=${V}
MODGO_LDFLAGS += -X tailscale.com/version.Short=${V}
WRKDIST = ${WRKSRC}
.include "modules.inc"
.include <bsd.port.mk>