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

ruby.branches       3.3 3.2 3.1
ruby.setup          ffi-rzmq 2.0.7 gem {} rubygems
categories-append   devel
license             MIT
maintainers         nomaintainer
platforms           any
description         FFI bindings for ZeroMQ
long_description    {*}${description} so the library can be used \
                    under JRuby and other FFI-compliant Ruby runtimes.
homepage            https://github.com/chuckremes/ffi-rzmq
checksums           rmd160  e553260f27a55560203f2c6995bcd7c3cb6212cb \
                    sha256  2feb3bc5bf46df633e2211514ac408521df0c198f54134fdb38322675d9f4591 \
                    size    51200
supported_archs     noarch

if {${name} ne ${subport}} {
    depends_run-append \
                    path:lib/libzmq.dylib:zmq \
                    port:rb${ruby.suffix}-ffi-rzmq-core
}