# -*- 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 77879 2011-04-15 15:23:34Z devans@macports.org $

PortSystem 1.0

name            libnice
version         0.1.0
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       md5     c077e2aa74c9afb4b4e157efc8a6ad9d \
                sha1    29ecfe791ac4d936ff36a35b36a2f2d8fb232d22 \
                rmd160  c5cec2533a82c100b41fc3149c2bca3d7f22599f

depends_build   port:pkgconfig \
                port:gtk-doc

depends_lib     port:gst-plugins-base

patchfiles      patch-agent-interfaces.c.diff

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

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