# -*- 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 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name            libgail-gnome
version         1.20.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
platforms       darwin
homepage        http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/

checksums       md5     5c5b71af5a8ab2a9403bdae52b20e46c \
                sha1    97bc7dca6130f6dfa76070669b0c46b56d374d24 \
                rmd160  b4ea4008186c5ca9f4090d1b4b4b6c85a27f1dd0

patchfiles      patch-Makefile.in.diff

depends_lib    lib:libspi:at-spi \
               lib:libpanelapplet-2:gnome-panel \
               port:dbus \
               port:dbus-glib

use_bzip2      yes

configure.cppflags-append "-L${prefix}/lib"
configure.ldflags-append "-lfontconfig -lXft -lXrender -L/usr/X11R6/lib -lX11 -lXinerama -lXrandr -lXext"

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