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

github.setup        BelledonneCommunications bzrtp 5.2.16
github.tarball_from archive
revision            1

categories          devel
license             {GPL-3 Commercial}
maintainers         nomaintainer

description         Open source implementation of ZRTP keys exchange protocol
long_description    \
    BZRTP is an opensource implementation of ZRTP keys exchange protocol. The \
    library written in C89 is fully portable and can be executed on many \
    platforms including both ARM processor and x86.

checksums           rmd160 5c0cd11650c4934d2ee58810d7f76e120692e8de \
                    sha256 88805aad952d8ae05f089511cb7eefdbad33207f32884c554e6205b2a8cb91df \
                    size 199378

depends_build-append \
                    port:bcunit
depends_lib         port:bctoolbox \
                    port:libxml2 \
                    port:sqlite3

configure.args-append \
                    -DENABLE_STATIC=NO

variant docs description {Build and install documentation in HTML format} {
    depends_build-append \
                    path:bin/doxygen:doxygen

    configure.args-append \
                    -DENABLE_DOC=YES
}

github.livecheck.regex  {([0-9.]+)}
