# -*- 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 119719 2014-05-04 15:13:17Z devans@macports.org $

PortSystem      1.0

name            gupnp
version         0.20.11
license         LGPL
set branch      [join [lrange [split ${version} .] 0 1] .]
description     GUPnP is an elegant, object-oriented open source framework for creating UPnP devices and control points.

long_description \
                GUPnP is an elegant, object-oriented open source framework for creating UPnP devices and control points, \
                written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible. \
                It provides the same set of features as libupnp, but shields the developer from most of UPnP's internals.

maintainers     devans openmaintainer
categories      net gnome
platforms       darwin
homepage        https://wiki.gnome.org/Projects/GUPnP
master_sites    gnome:sources/${name}/${branch}/

use_xz          yes

checksums       rmd160  3941d33b86ff125273fd01ed4d383b1f96d78568 \
                sha256  648ad091c7bae1c2b45ae9b9c0052f8c72903ce740d6e5be945c493dec85c160

depends_build   port:pkgconfig

depends_lib     port:gssdp \
                port:libsoup \
                port:libxml2 \
                port:gobject-introspection \
                port:ossp-uuid \
                port:vala

patchfiles      patch-return.diff

configure.args  --disable-silent-rules \
                --enable-introspection=yes

livecheck.type  gnome
