aboutsummaryrefslogtreecommitdiff
path: root/net/zerotier/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2017-03-07 15:49:27 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2017-03-07 15:49:27 +0000
commitea21911cba71d9fdfc81c9f46ffc13098e3606e8 (patch)
treef01b997790b9ce027e14e11802a39073b089e0c5 /net/zerotier/Makefile
parent7b0cbba52841fd4781a5533dab740cf96fd669e1 (diff)
downloadports-ea21911cba71d9fdfc81c9f46ffc13098e3606e8.tar.gz
ports-ea21911cba71d9fdfc81c9f46ffc13098e3606e8.zip
- Add an option to build network management controller microservice
- Respect CC/CXX and drop superfluous GH_ACCOUNT while I'm at it PR: 215031 (modified) Approved by: maintainer timeout (since 2016-12-03)
Notes
Notes: svn path=/head/; revision=435612
Diffstat (limited to 'net/zerotier/Makefile')
-rw-r--r--net/zerotier/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/zerotier/Makefile b/net/zerotier/Makefile
index 051870eb16ad..fba176ab6df9 100644
--- a/net/zerotier/Makefile
+++ b/net/zerotier/Makefile
@@ -15,12 +15,17 @@ 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
+OPTIONS_DEFINE= CONTROLLER
+
+CONTROLLER_DESC= Network management controller microservice support
+CONTROLLER_USES= sqlite
+CONTROLLER_MAKE_ARGS= ZT_ENABLE_NETWORK_CONTROLLER=1
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/zerotier-one ${STAGEDIR}${PREFIX}/sbin/
.for l in zerotier-cli zerotier-idtool