# -*- 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.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 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 54fd656cac8d7dd6434f4f701faa5c2153f85c4e \ sha256 0c3a595a6d2a4fe0f1a1a5243637e66aa1bfbaf6492455bfd0b51e0dec9b1553 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-gobject } 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-gobject } if {![variant_isset python26]} { default_variants +python27 } livecheck.type gnome livecheck.name ${gname}