# -*- 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 # $Id$ PortSystem 1.0 PortGroup gobject_introspection 1.0 name goocanvas2 set gname goocanvas version 2.0.2 revision 2 set branch [join [lrange [split ${version} .] 0 1] .] description A Cairo Canvas Widget for GTK+ version 3 long_description GooCanvas is a canvas widget for GTK+ version 3 that uses the cairo 2D library \ for drawing. maintainers devans openmaintainer categories gnome license LGPL platforms darwin homepage https://wiki.gnome.org/Projects/GooCanvas master_sites gnome:sources/${gname}/${branch}/ distname ${gname}-${version} use_xz yes checksums rmd160 4441441652a407bd493504c050b989c0990b0413 \ sha256 f20e5fbef8d1a2633033edbd886dd13146a1b948d1813a9c353a80a29295d1d0 depends_build port:pkgconfig \ port:gettext depends_lib port:gtk3 patchfiles patch-configure.diff gobject_introspection yes configure.args --enable-python=no # doesn't support python3 yet variant python27 conflicts python34 description {Build Python bindings using Python 2.7} { set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7 configure.args-replace --enable-python=no --enable-python=yes configure.python ${prefix}/bin/python2.7 configure.pkg_config_path ${python_prefix}/lib/pkgconfig depends_lib-append port:py27-gobject3 } default_variants +python27 livecheck.type gnome livecheck.name ${gname}