Files

36 lines
1.2 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup cmake 1.1
github.setup emqx nanomq 0.24.6
revision 0
categories net
license MIT
maintainers {@sikmir disroot.org:sikmir} openmaintainer
description An ultra-lightweight and blazing-fast MQTT broker for IoT edge
long_description {*}${description}
homepage https://nanomq.io/
# Fetch from git instead of distfile because it needs submodules
fetch.type git
post-fetch {
system -W ${worksrcpath} "git submodule update --init"
}
depends_build-append path:bin/pkg-config:pkgconfig
depends_lib-append port:cyclonedds \
port:mbedtls \
port:sqlite3 \
port:zmq
configure.args-append -DBUILD_BENCH=ON \
-DBUILD_DDS_PROXY=OFF \
-DBUILD_NANOMQ_CLI=ON \
-DBUILD_ZMQ_GATEWAY=ON \
-DNNG_ENABLE_SQLITE=ON \
-DNNG_ENABLE_TLS=ON