# -*- 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

name                czmq
version             4.2.1
revision            0
categories          devel sysutils net
platforms           darwin
license             LGPL

maintainers         {stromnov @stromnov} openmaintainer

description         High-level C Binding for 0MQ
long_description    {*}${description}

homepage            http://czmq.zeromq.org/
master_sites        https://github.com/zeromq/czmq/releases/download/v${version}

checksums           rmd160  39a017ef5dd44f744f116f78d996f6cca54923db \
                    sha256  5d720a204c2a58645d6f7643af15d563a712dad98c9d32c1ed913377daa6ac39 \
                    size    1617066

universal_variant   yes

depends_lib-append  path:lib/libzmq.dylib:zmq

livecheck.type      regex
livecheck.url       https://github.com/zeromq/czmq/releases
livecheck.regex     {czmq-([0-9.]+)\.[tz]}
