# -*- 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 119509 2014-04-28 15:53:52Z devans@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.12.1
checksums           rmd160  1edbea619900c27a6d32459604f2e7bc6856c3c6 \
                    sha256  5fa9c527bdec028e06797563cd52d49bcf06f638549df983424d88db89bb1336

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}/

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

patchfiles          configure.ac.patch

use_autoreconf      yes
autoreconf.args     -fvi

livecheck.type      gnome
