# -*- 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 108092 2013-07-12 20:52:47Z devans@macports.org $

PortSystem 1.0

name            libgail-gnome
version         1.20.4
revision        1
set branch      [join [lrange [split ${version} .] 0 1] .]
description     An implementation of the ATK interfaces for GNOME widgets.
long_description \
                Gail, the Gnome Accessibility Implementation library, \
                is implementation of the ATK interfaces for GNOME widgets.
maintainers     nomaintainer
categories      gnome
license         LGPL-2+
platforms       darwin
homepage        http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/

checksums       md5     b29bf1c8f2cd8652ec827c9f5b8baa14 \
                sha1    ac1bb6f24dc16d8cc557fd6a6c6737f977de067f \
                rmd160  21138e64f7d93b3d5cf37f9242e014ccceb5ba3f

patchfiles      patch-Makefile.in.diff

depends_build   port:pkgconfig

depends_lib     port:at-spi \
                port:libpanel-applet2 \
                port:libgnomeui

use_bzip2       yes

post-activate    {
    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
}

livecheck.type  gnome
