aboutsummaryrefslogtreecommitdiff
path: root/net/zerotier/Makefile
blob: 6fc50c867213710d7644383adc361c9576cd428e (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
30
31
32
# Created by: Corey Smith <corsmith@gmail.com>
# $FreeBSD$

PORTNAME=	zerotier
DISTVERSION=	1.1.0
CATEGORIES=	net
MASTER_SITES=	GH
DISTNAME=	ZeroTierOne

MAINTAINER=	corsmith@gmail.com
COMMENT=	Network virtualization everywhere

LICENSE=	GPLv3

USES=		gmake
USE_RC_SUBR=	zerotier

USE_GITHUB=	yes
GH_ACCOUNT=	zerotier
GH_PROJECT=	ZeroTierOne
GH_TAGNAME=	5db538d
CFLAGS+=	-flax-vector-conversions

PLIST_FILES=	bin/zerotier-cli bin/zerotier-idtool sbin/zerotier-one

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/zerotier-one ${STAGEDIR}${PREFIX}/sbin/
.for l in zerotier-cli zerotier-idtool
	${LN} -sf ../sbin/zerotier-one ${STAGEDIR}${PREFIX}/bin/${l}
.endfor

.include <bsd.port.mk>