# -*- 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.4 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  fcdaaab2224081219ac2b14b5bb788f2d6bb88e3 \
                    sha256  95c088862aa1b88b73d62aa99577135010eb768fcafb252d13aa85a8515ef798 \
                    size    108422

# Type redefinition
compiler.c_standard 2011

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