freebsd-ports/net/zerotier/Makefile

31 lines
658 B
Makefile
Raw Normal View History

# Created by: Corey Smith <corsmith@gmail.com>
# $FreeBSD$
PORTNAME= zerotier
PORTVERSION= 1.1.4
CATEGORIES= net
MAINTAINER= corsmith@gmail.com
COMMENT= Network virtualization everywhere
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= gmake
USE_RC_SUBR= zerotier
USE_GITHUB= yes
GH_ACCOUNT= zerotier
GH_PROJECT= ZeroTierOne
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>