32 lines
746 B
Makefile
32 lines
746 B
Makefile
PORTNAME= netbird
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.59.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= security net net-vpn
|
|
|
|
MAINTAINER= dev@netbird.io
|
|
COMMENT= Peer-to-peer VPN that seamlessly connects your devices
|
|
WWW= https://netbird.io/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
NOT_FOR_ARCHS= i386
|
|
NOT_FOR_ARCHS_REASON= "no 32-bit builds supported"
|
|
|
|
RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss
|
|
|
|
USES= go:modules
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
GO_MODULE= github.com/netbirdio/netbird
|
|
GO_TARGET= ./client:${PORTNAME}
|
|
GO_BUILDFLAGS= -tags freebsd -o ${PORTNAME} -ldflags \
|
|
"-s -w -X github.com/netbirdio/netbird/version.version=${DISTVERSION}"
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|