# -*- 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
# $Id: Portfile 74287 2010-12-10 19:40:10Z devans@macports.org $

PortSystem 1.0
PortGroup python26 1.0

name            coherence
version         0.6.6.2
categories      net multimedia python
maintainers     devans openmaintainer
description     Coherence, a Python UPnP and DLNA media framework
long_description \
                Coherence is a framework written in Python, \
                providing several UPnP MediaServers and MediaRenderers, \
                and enabling your application to participate in digital living networks.

platforms       darwin
homepage        http://coherence.beebits.net/
master_sites    http://coherence.beebits.net/download/
distname        Coherence-${version}

checksums       md5     d7a1b4abf6831c61e37a3b9e2bdc560a \
                sha1    c8f3aedf6f393e400b012b9b79a45faf6bc3c809 \
                rmd160  f3cea9a846059723c846cb2254aae73ff1a6a5e9

depends_lib-append \
                port:py26-elementtree \
                port:py26-twisted \
                port:py26-gdata \
                port:py26-feedparser \
                port:gst-plugins-base

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