# -*- 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 105340 2013-04-18 09:22:09Z cal@macports.org $

PortSystem          1.0

name                at-spi2-atk
# you probably want to keep this at the same version as at-spi2-core
version             2.8.1
conflicts           at-spi
license             LGPL
set branch          [join [lrange [split ${version} .] 0 1] .]
description         Gnome Accesibility Technology Service
long_description \
   'at-spi' is a part of the Gnome Accessibility Project.  It provides a \
   Service Provider Interface for the Assistive Technologies available on \
   the GNOME platform, and a library against which applications can be linked.
maintainers         cal openmaintainer
categories          gnome
platforms           darwin
homepage            http://a11y.org/
master_sites        gnome:sources/${name}/${branch}/

checksums           rmd160  ea803db08f1f8f1e4237a1e8e2c282f22f32274c \
                    sha256  eb659b94fde6dc0a2f584c9121a5e6d39a4c8aa297d21d8f9032f7a8a775fd06

use_xz              yes

depends_build       port:pkgconfig

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:lib/pkgconfig/dbus-1.pc:dbus \
                    port:dbus-glib \
                    port:dbus-python27 \
                    port:atk \
                    port:at-spi2-core

livecheck.type      regex
livecheck.url       http://ftp.gnome.org/pub/gnome/sources/${name}/cache.json
livecheck.regex     {LATEST-IS-(\d+\.\d*[02468](?:\.\d+)*)}
