# -*- 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 GNOME-Mud is a mudclient for the GNOME platform.
homepage https://wiki.gnome.org/Apps/GnomeMud
master_sites gnome:sources/${name}/${branch}/
checksums md5 aa41b2afb55158e7a9d2e14831223949 \
sha1 27e2537842f976efe075f5dc57dbfb9bfe5f6f2f \
rmd160 2218fd5f325823506edf75034dcfe674ca2606df
depends_build port:pkgconfig \
depends_lib port:desktop-file-utils \
port:gstreamer010-gst-plugins-base
patchfiles patch-src-mud-telnet.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 --mandir=${prefix}/share/man \
--enable-compile-warnings=minimum \
--disable-schemas-install
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
livecheck.type gnome-with-unstable