# -*- 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
set branch [join [lrange [split ${version} .] 0 1] .]
homepage http://www.gajim.org/
description A full featured and easy to use Jabber client.
long_description The goal of Gajim is to provide a full featured and \
easy to use Jabber client. Gajim works nicely with \
GNOME, but does not require it to run.
master_sites http://gajim.org/downloads/${branch}/
checksums rmd160 4bab0b953a6f9a362b43232f584a2d9bf372ef59 \
sha256 46d4887857455b6e104d0478735edb51569bfa384578ffb4f4da81f1649b6a32
depends_build port:intltool \
set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
configure.python ${prefix}/bin/python2.7
configure.pkg_config_path ${python_prefix}/lib/pkgconfig
# reconfigure using autogen.sh for intltool 0.51 compatibility
configure.cmd ./autogen.sh
livecheck.url ${homepage}/downloads.php?lang=en
livecheck.regex "Latest version of Gajim is\\s+<strong>(\\d+.\\d+.\\d+)<"