# -*- 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-idle
version         0.2.0
revision        4
license         LGPL-2.1
description     The ${name} IRC connection manager component of Telepathy - a Flexible Communications Framework

long_description \
                Idle implements the Telepathy D-Bus specification for Internet Relay Chat, allowing Telepathy \
                clients like Empathy to connect to IRC servers.

maintainers     {devans @dbevans} openmaintainer
categories      comms
platforms       darwin
homepage        https://telepathy.freedesktop.org/wiki/
master_sites    https://telepathy.freedesktop.org/releases/${name}/

checksums       rmd160  bbac1f917da0580066bd52bea4ec466f6370513e \
                sha256  3013ad4b38d14ee630b8cc8ada5e95ccaa849b9a6fe15d2eaf6d0717d76f2fab

depends_build   port:pkgconfig \
                port:libxslt

depends_lib     port:telepathy-glib \
                path:lib/libssl.dylib:openssl \
                port:py27-twisted

patchfiles      patch-configure.diff \
                patch-src-idle-parser.c.diff

configure.python ${prefix}/bin/python2.7
configure.args  --disable-silent-rules

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