# -*- 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 80087 2011-07-04 00:22:51Z jeremyhu@macports.org $

PortSystem      1.0

name            telepathy-mission-control
version         5.6.1
revision        1
categories      comms
maintainers     devans openmaintainer
platforms       darwin
homepage        http://telepathy.freedesktop.org/wiki
master_sites    http://telepathy.freedesktop.org/releases/${name}

description     The ${name} component of Telepathy - a Flexible Communications Framework.

long_description \
                Telepathy Mission Control is a telepathy (chat and voip framework) component \
                providing a way for "end-user" applications to abstract some details of low \
                level telepathy components such as connection managers.

checksums       md5     0627423bfdf1f5616a4250205ec35b70 \
                sha1    b879b8ef6a27e0d9bbf9dac2622cdb13fc8a29cb \
                rmd160  0dad90aa3c54ee5cc5909c5c8e0012e0eddd0d48

depends_build   port:pkgconfig \
                port:libxslt \
                port:gtk-doc

depends_lib     port:telepathy-glib \
                port:libgnome-keyring

patchfiles      patch-configure.diff

variant python26 conflicts python27 description {Use python 2.6} {
    configure.python          ${prefix}/bin/python2.6
    depends_lib-append        port:python26
}

variant python27 conflicts python26 description {Use python 2.7} {
    configure.python          ${prefix}/bin/python2.7
    depends_lib-append        port:python27
}

if {![variant_isset python26]} {
    default_variants +python27
}

configure.args  --enable-gnome-keyring

livecheck.type  regex
livecheck.url   ${master_sites}
livecheck.regex "${name}-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)"
