# -*- 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 85681 2011-10-15 19:21:50Z ryandesign@macports.org $

PortSystem 1.0

name            libtelepathy
version         0.3.3
revision        1
license         LGPL-2.1
description     The ${name} component of Telepathy - a Flexible Communications Framework.
long_description \
                The ${name} component of Telepathy - a Flexible Communications Framework. \
                The Telepathy project is building a unified framework for many \
                different kinds of real-time communications. It uses the D-Bus \
                messaging system to provide a simple interface for client applications, \
                allowing them to quickly take advantage of Telepathy's benefits.
maintainers     devans openmaintainer
categories      comms
platforms       darwin
homepage        http://telepathy.freedesktop.org/wiki/
master_sites    http://telepathy.freedesktop.org/releases/${name}/

checksums       md5     490ca1a0c614d4466394b72d43bf7370 \
                sha1    d5aa10a30570dedd89cfe45c4e928263bd32b888 \
                rmd160  0d51e4eac2e4bc7f196c2597c4ea30adebc34e11

depends_build   port:pkgconfig \
                port:libxslt

depends_lib     port:telepathy-glib

variant python25 conflicts python26 python27 description {Build using Python 2.5} {
        depends_build-append port:python25
        configure.python ${prefix}/bin/python2.5
}

variant python26 conflicts python25 python27 description {Build using Python 2.6} {
        depends_build-append port:python26
        configure.python ${prefix}/bin/python2.6
}

variant python27 conflicts python25 python26 description {Build using Python 2.7} {
        depends_build-append port:python27
        configure.python ${prefix}/bin/python2.7
}

default_variants +python27

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