# -*- 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.17.0 v
github.tarball_from archive
revision            0
checksums           rmd160  03b19a6d11400d3eb0b67b3c07e76b9a81068942 \
                    sha256  66c36901178c872565f732468e91688f6280c18810fe8b21a199d46347ba3a0c \
                    size    137489

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}
