# -*- 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 name goocanvas2 set gname goocanvas version 2.0.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 http://live.gnome.org/GooCanvas master_sites gnome:sources/${gname}/${branch}/ distname ${gname}-${version} use_xz yes checksums rmd160 4441441652a407bd493504c050b989c0990b0413 \ sha256 f20e5fbef8d1a2633033edbd886dd13146a1b948d1813a9c353a80a29295d1d0 depends_build port:pkgconfig \ port:intltool depends_lib port:gtk3 \ port:gobject-introspection patchfiles patch-configure.diff configure.args --enable-introspection=no \ --enable-python=yes variant python26 conflicts python27 description {Build using Python 2.6} { set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6 configure.python ${prefix}/bin/python2.6 configure.pkg_config_path ${python_prefix}/lib/pkgconfig depends_build-append port:py26-gobject3 } variant python27 conflicts python26 description {Build using Python 2.7} { set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7 configure.python ${prefix}/bin/python2.7 configure.pkg_config_path ${python_prefix}/lib/pkgconfig depends_build-append port:py27-gobject3 } if {![variant_isset python26]} { default_variants +python27 } livecheck.type gnome livecheck.name ${gname}