# -*- 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 eog-plugins version 3.10.1 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description Extra plugins for the Eye of GNOME image viewer long_description \ $description maintainers devans openmaintainer categories gnome platforms darwin homepage https://projects.gnome.org/eog/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 28859d3ade22dc275b452a28930c8155fa89e65f \ sha256 d5b32c49dbf1e0b6cf56c9fdc6c19186c92e98d92b71aa98805491e2bb2f8e12 depends_build port:pkgconfig \ port:intltool depends_lib port:eog \ port:gtk3 \ port:libpeas \ port:libgdata \ port:libchamplain \ port:clutter \ port:clutter-gtk \ port:libexif \ port:gsettings-desktop-schemas patchfiles patch-configure.diff configure.args --disable-python \ --disable-schemas-compile \ --disable-silent-rules # provided python plugins use libpeas python2 loader only # libpeas python2 loader supports python27 variant python27 description {Use python 2.7} { depends_lib-append port:py27-pygtk configure.python ${prefix}/bin/python2.7 set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 configure.pkg_config_path ${python_framework}/lib/pkgconfig configure.args-replace --disable-python --enable-python } default_variants +python27 post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome