# $Id: Portfile,v 1.20 2006/05/02 04:27:42 yves Exp $

PortSystem 1.0
name               py-gtk2
version            2.8.6
categories         python x11
maintainers        yves@opendarwin.org
description        PyGTK2 is the Python binding to GTK+ 2.x
long_description   \
    PyGTK contains modules that allow you to use gtk in Python programs. \
    At present, it is a fairly complete set of bindings.

homepage        http://www.pygtk.org/
master_sites    gnome:sources/pygtk/2.8/
distname        pygtk-${version}
use_bzip2       yes
checksums       md5 c69c2e5e86a8f21a5773df20e265fc3a

depends_lib     port:gtk2 port:py-gobject port:py-numeric

variant glade {
    depends_lib-append    port:libglade2
}

platform darwin 7 {
    configure.env   CFLAGS="-I${x11prefix}/include"
}
