# $Id: Portfile,v 1.18 2005/10/22 14:25:06 yves Exp $ PortSystem 1.0 name py-gtk2 version 2.8.1 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 43929ef2e6176d1b0fec703106740c00 depends_lib port:gtk2 port:python24 port:py-numeric post-destroot { xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name} \ ${destroot}/${prefix}/share/${name} xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \ MAPPING NEWS PKG-INFO README THREADS TODO \ ${destroot}/${prefix}/share/doc/${name} file copy ${worksrcpath}/examples ${destroot}/${prefix}/share/pygtk/2.0 eval file delete \ [glob ${destroot}/${prefix}/share/pygtk/2.0/examples/Makefile*] } variant glade { depends_lib-append port:libglade2 } platform darwin 7 { configure.env CFLAGS="-I${x11prefix}/include" }