# $Id: Portfile 33232 2008-01-22 02:53:14Z nox@macports.org $ PortSystem 1.0 name py25-gtk set my_name pygtk version 2.12.1 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 a816346d750d61e3fa67a200e4292694 \ sha1 7a7d095f53829895174640d693c4e4af16122d98 \ rmd160 c368deab52524248593b77984e93f18150efa0f4 depends_lib port:python25 \ port:atk \ port:cairo \ port:pango \ port:gtk2 \ port:libglade2 \ port:py25-cairo \ port:py25-gobject configure.args --disable-glibtest configure.python ${prefix}/bin/python2.5 platform darwin 7 { configure.cflags-append -I${x11prefix}/include } platform darwin 9 { post-patch { reinplace "s| -export-symbols-regex.*||g" \ ${worksrcpath}/Makefile.in \ ${worksrcpath}/gtk/Makefile.in } } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}