# -*- 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 PortGroup gobject_introspection 1.0 name goocanvas2 set gname goocanvas version 2.0.4 revision 1 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 @dbevans} 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 e287fb64b998b3e4dc3f68d88860bf6c4d6c1736 \ sha256 c728e2b7d4425ae81b54e1e07a3d3c8a4bd6377a63cffa43006045bceaa92e90 depends_build port:pkgconfig \ port:gettext depends_lib path:lib/pkgconfig/gtk+-3.0.pc:gtk3 patchfiles patch-configure.diff gobject_introspection yes configure.args --disable-silent-rules \ --enable-python=no # doesn't support python3 yet variant python27 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}