# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 104464 2013-03-25 23:27:18Z devans@macports.org $

PortSystem 1.0

name            libnice
version         0.1.4
license         MPL-1.1 LGPL-2.1
description     Libnice is an implementation of the IETF's draft Interactice \
                Connectivity Establishment standard (ICE).
long_description \
                Libnice is an implementation of the IETF's draft Interactice \
                Connectivity Establishment standard (ICE). It provides a GLib-based \
                library, libnice and GStreamer elements.
maintainers     devans openmaintainer
categories      net comms
platforms       darwin
homepage        http://nice.freedesktop.org/wiki/
master_sites    http://nice.freedesktop.org/releases/

checksums       rmd160  0a65110212b35af12e7c25fcac670eee723bb6c2 \
                sha256  44e517de9c01203158f2a3d59f058706299a4ae41dfe1a7eeb72c290fcc8bf57

depends_build   port:pkgconfig \
                port:gtk-doc

depends_lib     port:gstreamer1-gst-plugins-base \
                port:gstreamer010-gst-plugins-base \
                port:libffi

configure.args  --disable-gupnp \
                --with-gstreamer-0.10 \
                --with-gstreamer

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
