# -*- 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
PortGroup           legacysupport 1.1

# clock_gettime
legacysupport.newest_darwin_requires_legacy 15

github.setup        paullouisageneau libjuice 1.7.5 v
github.tarball_from archive
revision            0

categories          net devel
license             MPL-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

description         UDP Interactive Connectivity Establishment (ICE) library
long_description    libjuice (JUICE is a UDP Interactive Connectivity \
                    Establishment library) opens bidirectional UDP streams \
                    through NAT with ICE, as specified by RFC 8445, \
                    including STUN and TURN support and an embedded \
                    STUN/TURN server.

checksums           rmd160  c025a25237a648bf6821c0267c18f4af257295c6 \
                    sha256  a0cdc9069613d4dfdc54f829ad11ebd23fedf345bc43727fbcd2f5439f2425bd \
                    size    112737

# Type redefinition
compiler.c_standard 2011

# The test program needs public STUN and TURN servers.
configure.args-append \
                    -DNO_TESTS=ON \
                    -DUSE_NETTLE=OFF
