# -*- 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 gnome-weather version 3.20.2 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description A small application that allows you to monitor the current weather \ conditions for your city, or anywhere in the world long_description ${description} maintainers devans openmaintainer categories gnome platforms darwin homepage https://wiki.gnome.org/Apps/Weather master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 f0e5f9067c06d2544e17f51fe1eec3724e9c89ee \ sha256 7823ca7c08fa852232b98c2517830e3bd9b0ab80c9ac83f182c18ec140a5c18b depends_build port:pkgconfig \ port:intltool \ port:appstream-glib \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gtk3 \ port:gjs \ port:geoclue2 \ port:gnome-desktop \ port:libgweather depends_run port:gnome-themes-standard \ port:yelp gobject_introspection yes patchfiles patch-src-app-currentLocationController.js.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-schemas-compile \ --disable-silent-rules post-activate { system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome