# -*- 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           cmake 1.1
PortGroup           conflicts_build 1.0
PortGroup           github 1.0

github.setup        alanxz rabbitmq-c 0.15.0 v
github.tarball_from archive
revision            0
checksums           rmd160  11d83d8e88ce42b08bd3d6d1817d69e5f982d146 \
                    sha256  7b652df52c0de4d19ca36c798ed81378cba7a03a0f0c5d498881ae2d79b241c2 \
                    size    131818

categories          net devel
maintainers         {ryandesign @ryandesign} openmaintainer
license             MIT

description         a C-language AMQP client library for use with RabbitMQ

long_description    RabbitMQ-C is {*}${description}.

depends_build-append \
                    port:xmlto

depends_lib         path:lib/libssl.dylib:openssl \
                    port:popt

configure.args-append \
                    -DBUILD_TOOLS:BOOL=ON \
                    -DBUILD_TOOLS_DOCS:BOOL=ON

conflicts_build     ${name}
