# -*- 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.16.5 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://wiki.gnome.org/Apps/EyeOfGnome master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 dea4142f4ec5f25bf62b31ab935c21abefad550b \ sha256 9de42235cc7dabc4e4b228c1a27ead4ee386cf5a3cc75fdb7ea12355d408108a depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool 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-plugins-pythonconsole.diff \ patch-plugins-slideshowshuffle.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --disable-python \ --disable-schemas-compile \ --disable-silent-rules # requires python32 or later variant python34 conflicts python35 description {Use python 3.4} { depends_build-append port:python34 configure.python ${prefix}/bin/python3.4 set python_framework ${frameworks_dir}/Python.framework/Versions/3.4 configure.pkg_config_path ${python_framework}/lib/pkgconfig configure.args-replace --disable-python --enable-python } variant python35 conflicts python34 description {Use python 3.5} { depends_build-append port:python35 configure.python ${prefix}/bin/python3.5 set python_framework ${frameworks_dir}/Python.framework/Versions/3.5 configure.pkg_config_path ${python_framework}/lib/pkgconfig configure.args-replace --disable-python --enable-python } if {![variant_isset python35]} { default_variants +python34 } post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome