blob: 06faeb32f8073f668af9fa9b1ca1ddc85b89709c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PORTNAME= yggdrasil
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.5
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= freebsd@neilalexander.dev
COMMENT= Experimental end-to-end encrypted self-arranging IPv6 network
WWW= https://yggdrasil-network.github.io/
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules go:1.20
GO_MODULE= github.com/yggdrasil-network/yggdrasil-go
GO_TARGET= ./cmd/yggdrasil \
./cmd/yggdrasilctl
GO_BUILDFLAGS= -ldflags="-s -w \
-X github.com/yggdrasil-network/yggdrasil-go/src/version.buildName=${PORTNAME} \
-X github.com/yggdrasil-network/yggdrasil-go/src/version.buildVersion=${PORTVERSION} \
"
PLIST_FILES= bin/yggdrasil \
bin/yggdrasilctl
USE_RC_SUBR= yggdrasil
.include <bsd.port.mk>
|