# -*- 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 gexiv2 version 0.10.4 license GPL-2 set branch [join [lrange [split ${version} .] 0 1] .] description gexiv2 is a GObject-based wrapper around the exiv2 library. long_description ${description} \ It makes the basic features of exiv2 available to GNOME applications. \ Thanks to GObject Introspection support, gexiv2 has excellent support \ for Python 2 & 3, and can also be accessed by any other programming \ language that supports GI. maintainers devans openmaintainer categories gnome graphics platforms darwin homepage https://wiki.gnome.org/Projects/gexiv2 master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 0dbaf2e988c4516240b007d0bc7db74c180605c9 \ sha256 ad8d31afdc0a1932cc44c4cfcea449497c0d0b445c0ad2f9735707b306e71ca4 depends_build port:pkgconfig depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:vala \ port:exiv2 patchfiles patch-configure.ac.diff gobject_introspection yes use_autoreconf yes autoreconf.args -fvi configure.args --enable-compile-warnings=no \ --disable-silent-rules # one each of python2 python3 allowed variant python27 description {Build Python2 bindings using Python 2.7} { depends_lib-append port:py27-gobject3 configure.env-append PYTHON2=${prefix}/bin/python2.7 } default_variants +python27 variant python34 conflicts python35 description {Build Python3 bindings using Python 3.4} { depends_lib-append port:py34-gobject3 configure.env-append PYTHON3=${prefix}/bin/python3.4 } variant python35 conflicts python34 description {Build Python3 bindings using Python 3.5} { depends_lib-append port:py35-gobject3 configure.env-append PYTHON3=${prefix}/bin/python3.5 } if {![variant_isset python35]} { default_variants +python34 } livecheck.type gnome