# $Id$ PortSystem 1.0 name py25-gtk set my_name pygtk version 2.12.0 set branch [join [lrange [split ${version} .] 0 1] .] categories python x11 maintainers nomaintainer description PyGTK 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/${my_name}/${branch}/ distname ${my_name}-${version} use_bzip2 yes checksums md5 3c1a42b774600c353342cfa3782a7d77 \ sha1 8248a620ef4147af07a708643926523024789d4e \ rmd160 d982a9752abcd214be975a3ead3946b3c8d1d474 depends_lib port:python25 \ port:gtk2 \ port:libglade2 \ port:py25-cairo \ port:py25-gobject configure.env PYTHON=python2.5 configure.args --disable-glibtest platform darwin 7 { configure.cflags-append -I${x11prefix}/include } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}