# -*- 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$

PortSystem          1.0

name                gdl
version             2.30.1
revision            4
license             LGPL
set branch          [join [lrange [split ${version} .] 0 1] .]
categories          gnome devel
maintainers         devans openmaintainer
description         Provides docking features for GTK+ 2
long_description \
                    GNOME Docking Library provides docking features for GTK+ 2. \
                    This port provides gdl-2.0.  For gdl-3.0 see port gdl3.

platforms           darwin

homepage            http://www.anjuta.org/
master_sites        gnome:sources/${name}/${branch}/
use_bzip2           yes

checksums           md5     4af16be490b47ce4e828a2fb93633856 \
                    sha1    c3b3e288fb84ddd9b81d8cae41699ec0828f689f \
                    rmd160  56cdb623c627504bceaffba91d338cae5bbe2955

depends_build       port:pkgconfig \
                    port:intltool \
                    port:gtk-doc

depends_lib         port:gtk2 \
                    port:libxml2

patchfiles          returns.patch \
                    patch_glib_2.30_G_CONST_RETURN.diff

# this is the last stable version of gdl that provides gdl-2.0
livecheck.type      none