# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 114924 2013-12-19 17:37:14Z devans@macports.org $ PortSystem 1.0 name gthumb version 2.14.4 revision 4 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description Image viewer and browser for the gnome desktop. long_description ${description} maintainers nomaintainer categories gnome platforms darwin homepage https://wiki.gnome.org/Apps/gthumb master_sites gnome:sources/gthumb/${branch} use_xz yes checksums sha256 1561ca52f9b60fbcd0e8fc976de8b30f0447019c698bfe1051d421935b5a51b5 \ rmd160 384b4441ed3d4022b6e5c5301b5a3c422f8b101b depends_build port:gnome-doc-utils \ port:intltool \ port:pkgconfig depends_lib port:desktop-file-utils \ port:gconf \ port:gstreamer010-gst-plugins-base \ port:libgnome-keyring \ port:libsoup \ port:libunique \ port:exiv2 \ port:libopenraw depends_run port:yelp patchfiles patch-configure.diff configure.args --enable-libopenraw \ --disable-clutter \ --disable-gnome-3 \ --disable-libbrasero \ --disable-scrollkeeper \ --disable-schemas-install \ --disable-silent-rules universal_variant no variant clutter description {Enable use of clutter in slide show feature} { depends_lib-append port:clutter-gtk configure.args-delete --disable-clutter } variant debug description {Enable building of debugging messages} { configure.args-append --enable-debug } post-activate { system "gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.type gnome