# -*- 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 gexiv2 version 0.7.0 revision 1 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 1a94722c86544c5b788364b60ec178e631809222 \ sha256 b631fe02402014cb52f22647b384972776ada31cbd3c3f187014b6535461ee8a depends_build port:pkgconfig \ port:libtool depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:gobject-introspection \ port:vala \ port:exiv2 patchfiles patch-configure.diff \ patch-Makefile.diff configure.args --enable-introspection \ --with-libtool=${prefix}/bin/glibtool # gobject-introspection uses g-ir-scanner, which uses $CC from env build.args-append CC="${configure.cc} ${configure.cc_archflags}" # one each of python2 python3 allowed variant python27 description {Build with support for Python 2.7} { depends_lib-append port:py27-gobject3 configure.env-append PYTHON2=${prefix}/bin/python2.7 } variant python32 conflicts python33 description {Build with support for Python 3.2} { depends_lib-append port:py32-gobject3 configure.env-append PYTHON3=${prefix}/bin/python3.2 } variant python33 conflicts python32 description {Build with support for Python 3.3} { depends_lib-append port:py33-gobject3 configure.env-append PYTHON3=${prefix}/bin/python3.3 } if {![variant_isset python33]} { default_variants +python32 } default_variants +python27 livecheck.type gnome-with-unstable