# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id: Portfile 59097 2009-10-09 20:44:55Z macsforever2000@macports.org $ PortSystem 1.0 name py25-gtk set my_name pygtk version 2.16.0 set branch [join [lrange [split ${version} .] 0 1] .] categories python x11 platforms darwin 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 bd0d437fefd6d5390f5d770a495cd50c \ sha1 b8998ca94841906e71b2475319bb47c841b188e8 \ rmd160 76ef8d362975e8928e2e5499d8b5dffc32a5c9d8 depends_build port:pkgconfig depends_lib port:python25 \ port:atk \ port:gtk2 \ port:libglade2 \ port:py25-cairo \ port:py25-gobject set python_prefix ${frameworks_dir}/Python.framework/Versions/2.5 configure.args --disable-glibtest # needed to find Python pkg-config files configure.pkg_config_path ${python_prefix}/lib/pkgconfig configure.python ${prefix}/bin/python2.5 platform darwin 9 { post-patch { reinplace "s| -export-symbols-regex.*||g" \ ${worksrcpath}/Makefile.in \ ${worksrcpath}/gtk/Makefile.in } } livecheck.type regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}