# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name py27-gtkhtml2 version 2.25.3 revision 2 checksums rmd160 e09bc0152512e2caa61626a7dc788d7336f24e46 \ sha256 ca346264e00e193f0866cabd8801d3b7ce70dae7b8b296e41e5b3a45c9b0275c \ size 370489 categories gnome python license LGPL maintainers nomaintainer description "Extra" Python modules for some GNOME Desktop libraries. long_description ${description} homepage http://www.pygtk.org/ set myname gnome-python-extras set branch [join [lrange [split ${version} .] 0 1] .] master_sites gnome:sources/${myname}/${branch} distname ${myname}-${version} dist_subdir ${myname} use_bzip2 yes depends_build port:pkgconfig depends_lib port:py27-pygtk\ port:libgtkhtml patchfiles patch-configure.diff patchfiles-append dynamic_lookup-11.patch configure.args-append --disable-allbindings --enable-gtkhtml2 set python.branch 2.7 set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch} set python.bin ${python.prefix}/bin/python${python.branch} configure.args-append --prefix=${python.prefix} configure.pkg_config_path ${python.prefix}/lib/pkgconfig configure.python ${python.bin} configure.env-append PYGTK_CODEGEN=${python.prefix}/bin/pygobject-codegen-2.0 post-destroot { file delete "${destroot}/${python.prefix}/lib/pkgconfig/gnome-python-extras-2.0.pc" } platform darwin 9 { post-patch { reinplace "s|-export-symbols-regex.*||g" \ ${worksrcpath}/gtkhtml2/Makefile.in \ } } livecheck.type gnome-with-unstable livecheck.name ${myname}