2015-10-04 12:24:30 +02:00
|
|
|
# Created by: Corey Smith <corsmith@gmail.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= zerotier
|
2017-04-30 15:28:20 +02:00
|
|
|
PORTVERSION= 1.2.4
|
2015-10-04 12:24:30 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2017-03-22 19:12:57 +01:00
|
|
|
MAINTAINER= dch@skunkwerks.at
|
2015-10-04 12:24:30 +02:00
|
|
|
COMMENT= Network virtualization everywhere
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
2016-11-30 15:46:03 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.GPL-3
|
2015-10-04 12:24:30 +02:00
|
|
|
|
2017-03-22 19:12:57 +01:00
|
|
|
USES= gmake compiler:c11
|
2015-10-04 12:24:30 +02:00
|
|
|
USE_RC_SUBR= zerotier
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_PROJECT= ZeroTierOne
|
2017-03-22 19:12:57 +01:00
|
|
|
|
2015-10-04 12:24:30 +02:00
|
|
|
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>
|