# -*- 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 # $Id$ PortSystem 1.0 name pidgin version 2.10.3 categories net platforms darwin maintainers otherware.org:nefar description Multi-protocol Instant Messaging client long_description Pidgin is an Open Source clone of America OnLine's \ Instant Messenger client that uses GTK+ version 2. It \ features multiple groups, group chat, user information \ fetching and registration, time stamping, and more. It \ also supports other IM protocols, including Yahoo!, MSN, \ ICQ, Jabber, Napster, IRC, and Zephyr via included \ plugins. homepage http://www.pidgin.im/ master_sites sourceforge:project/pidgin/Pidgin/${version} checksums rmd160 10af4caee9f22a251f867e3befebcc659e2b42f3 \ sha256 0f67d96231fea3945c2735e6a3b4bd92590ef489fa1511fa69aa6a543cb4168b use_bzip2 yes depends_build port:pkgconfig \ port:intltool depends_lib port:audiofile \ port:gconf \ port:libao \ port:libidn \ port:libxml2 \ port:nspr \ port:nss # nss is not universal universal_variant no patchfiles patch-configure.ac.diff \ patch-libpurple-internal.h.diff use_autoreconf yes configure.args --disable-avahi \ --disable-consoleui \ --disable-farsight \ --disable-gstreamer \ --disable-gtkspell \ --disable-meanwhile \ --disable-nm \ --disable-screensaver \ --disable-sm \ --disable-startup-notification \ --disable-schemas-install \ --disable-vv \ --enable-nss \ --mandir=${prefix}/share/man \ --with-nspr-includes=${prefix}/include/nspr \ --with-nspr-libs=${prefix}/lib/nspr \ --with-nss-includes=${prefix}/include/nss \ --with-nss-libs=${prefix}/lib/nss \ --disable-dependency-tracking # --disable-dependency-tracking was added because a +universal perl will result in # PERL_CFLAGS containing multiple -arch arguments... this is the easiest workaround configure.ldflags-append -bind_at_load configure.cppflags-append -no-cpp-precomp variant finch_only requires finch description {Build without pidgin} { configure.args-append --disable-gtkui \ --without-x } variant finch description {Build with finch} { configure.args-delete --disable-consoleui patchfiles-append patch-finch_libgnt_Makefile.in.diff patch-finch_libgnt_gntwm.c } post-destroot { fs-traverse file ${destroot}${prefix}/lib/perl5 { if {[file tail ${file}] == "perllocal.pod"} { delete ${file} } } } post-activate { system "dbus-uuidgen --ensure" 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" } variant no_x11 { configure.args-append --without-x } variant quartz requires no_x11 { configure.args-append --disable-gestures depends_build-append port:intltool post-patch { system "cd ${worksrcpath} && ${filespath}/autogen.sh" } } variant spellcheck description {Allow spell checking} { depends_lib-append port:gtkspell2 configure.args-delete --disable-gtkspell } livecheck.type regex livecheck.url http://sourceforge.net/projects/pidgin/files/Pidgin/ livecheck.regex "\/Pidgin\/(\\d+(?:\\.\\d+)*)\/"