# -*- 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

PortSystem 1.0

name            telepathy-haze
version         0.8.0
revision        3
license         GPL-2
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 @dbevans} openmaintainer
categories      comms
platforms       darwin
homepage        https://telepathy.freedesktop.org/wiki/
master_sites    https://telepathy.freedesktop.org/releases/${name}/

checksums       sha256  3e76049c05f2cd5900c5c0c1cfebdf7ae79eec987a599f1090946673c5b8f9c9 \
                rmd160  de24452c5060dda443a78e5d56d9a88df54b839c

depends_build   port:pkgconfig \
                port:python27

depends_lib     port:dbus-glib \
                port:telepathy-glib \
                port:libpurple

patchfiles      patch-configure.diff

configure.python ${prefix}/bin/python2.7

# disable streaming media support due to incompatibilities with libpurple 2.8+ that break build

configure.args  --disable-media \
                --disable-silent-rules

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