# -*- 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 67645 2010-05-15 12:10:52Z jann@macports.org $

PortSystem              1.0
PortGroup               archcheck 1.0
PortGroup               muniversal 1.0

name                    atk
version                 1.30.0
set branch              [join [lrange [split ${version} .] 0 1] .]
categories              devel
maintainers             nomaintainer
platforms               darwin

description             GNOME accessibility toolkit

long_description        ATK is the GNOME Accessibility ToolKit

homepage                http://projects.gnome.org/accessibility/
master_sites            gnome:sources/${name}/${branch}/

checksums               md5     548d413775819fef425410739041cac3 \
                        sha1    ca9380e956e37275cb0cb72805d20306686fb885 \
                        rmd160  2e862066f58208cee100711010becc06ff3d41cb

use_bzip2               yes

depends_build           port:pkgconfig \
                        port:gtk-doc

depends_lib             path:lib/pkgconfig/glib-2.0.pc:glib2 \
                        port:gettext \
                        port:libiconv

archcheck.files-append  lib/libglib-2.0.dylib \
                        lib/libintl.dylib \
                        lib/libiconv.dylib

configure.args          --enable-static

use_parallel_build      yes

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