# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-off set: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name gajim version 0.11.4 homepage http://www.gajim.org/ categories net chat x11 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. maintainers rene \ openmaintainer platforms darwin master_sites http://www.gajim.org/downloads/ distname ${name}-${version} use_bzip2 yes checksums md5 53eb80b280674678f6615eae4a552374 \ sha1 66c3c2aba9cea8e0e48581e87e412b445040ac15 \ rmd160 77ddba3f06c1b4dc80c0c3efe1951cbb0fac07e0 post-patch { set py25includes [ exec ${prefix}/bin/python2.5-config --includes ] # Force usage of MacPorts python reinplace "s|@PYTHON@|${prefix}/bin/python2.5|" \ ${worksrcpath}/scripts/gajim-remote.in reinplace "s|@PYTHON@|${prefix}/bin/python2.5|" \ ${worksrcpath}/scripts/gajim.in reinplace "s|\$(PYTHON_INCLUDES)|${py25includes}|" \ ${worksrcpath}/src/Makefile.in } depends_lib port:gettext \ port:gtk2 \ port:py25-gtk \ port:py25-gobject \ port:py25-docutils \ port:py25-sqlite3 \ port:py25-socket-ssl \ port:dbus-python25 configure.args --disable-trayicon \ --enable-idle \ --disable-gtkspell \ --disable-remote \ --enable-nls variant gnome description {Add GNOME support} { depends_lib-append port:gnome-python-desktop } variant zeroconf description {Add zeroconf (Bonjour) support} { depends_lib-append port:dbus-glib \ port:avahi } variant trayicon description {Add trayicon support} { configure.args-delete --disable-trayicon configure.args-append --enable-trayicon } variant noidle description {Disable idle support} { configure.args-delete --enable-idle configure.args-append --disable-idle } variant remote description {Add remote support} { configure.args-delete --disable-remote configure.args-append --enable-remote depends_lib-append port:dbus } variant nonls description {Disable native language support} { configure.args-delete --enable-nls configure.args-append --disable-nls } variant gtkspell description {Add gtkspell support} { configure.args-delete --disable-gtkspell configure.args-append --enable-gtkspell depends_lib-append port:gtkspell2 } livecheck.check regex livecheck.url ${homepage}/downloads.php livecheck.regex "Latest version of Gajim is\\s+(\\d+.\\d+.\\d+)<"