# -*- 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
PortGroup gobject_introspection 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {devans @dbevans} openmaintainer
description Library to accessing online weather informations.
long_description libgweather is a library to access weather \
information from online services for numerous \
homepage https://wiki.gnome.org/Projects/LibGWeather
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 030b32d9ccc67ce174a944737111e0be67c1b9c1 \
sha256 fca78470b345bce948e0333cab0a7c52c32562fc4a75de37061248a64e8fc4b8
depends_build port:pkgconfig \
depends_lib port:gdk-pixbuf2 \
gobject_introspection yes
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
file delete -force ${worksrcpath}/m4
configure.cmd ./autogen.sh
configure.args --enable-compile-warnings=no \
--enable-glade-catalog=no \
--disable-schemas-compile \
variant glade description {Enable building of glade catalog items} {
depends_lib-append port:glade
configure.args-replace --enable-glade-catalog=no --enable-glade-catalog=yes