# -*- 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
set branch [join [lrange [split ${version} .] 0 1] .]
description This is the non-gui part of the library formerly known as gnome-libs.
homepage https://www.gnome.org/
master_sites gnome:sources/${name}/${branch}/
checksums sha256 b2c63916866485793b87398266dd7778548c1734923c272a94d84ee011b6f7a4 \
rmd160 e425910756737363ef910e9d2d5cd3820d009441
depends_build port:pkgconfig \
patchfiles patch-libgnome-Makefile.am.diff \
patch-libgnome-gnome-config.h.diff
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
configure.cmd ./autogen.sh
configure.args --disable-schemas-install
system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
gconftool-2 --makefile-install-rule \
${prefix}/etc/gconf/schemas/*.schemas"