# -*- 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: Portfile 146743 2016-03-16 21:35:19Z cal@macports.org $ PortSystem 1.0 PortGroup conflicts_build 1.0 name bitlbee version 3.2.2 revision 2 categories irc net platforms darwin license GPL-2 maintainers nomaintainer description An IRC to other chat networks gateway long_description bitlbee is an IRC server that can connect to IM \ networks such as AIM and MSN. Its intention is you \ only have to use one client application for all your \ instant messaging. homepage http://www.bitlbee.org/ master_sites http://get.bitlbee.org/src/ checksums rmd160 7d5ce23f05b7ff7bac1c0a8af7e38f821176939a \ sha256 ba38939281f23e8a0e71022c7be0cb68f6544248404362c5e20245fa7a67558e depends_build port:pkgconfig depends_lib port:gnutls \ port:gettext \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:libgcrypt \ port:libgpg-error \ port:libiconv patchfiles patch-configure.diff configure.args --config=${prefix}/var/lib/bitlbee/ --ssl=gnutls --otr=0 configure.universal_args destroot.target install install-etc # libproxy's proxy.h shadows bitlbee's; see #27598 conflicts_build libproxy # liboauth's oauth.h shadows bitlbee's conflicts_build-append liboauth post-destroot { destroot.keepdirs ${destroot}${prefix}/var/lib/bitlbee set etcdir ${destroot}${prefix}/etc/bitlbee move ${etcdir}/bitlbee.conf ${etcdir}/bitlbee.conf.sample move ${etcdir}/motd.txt ${etcdir}/motd.txt.sample } post-activate { ui_msg "To complete installation, run" ui_msg "sudo cp ${prefix}/etc/bitlbee/bitlbee.conf.sample ${prefix}/etc/bitlbee/bitlbee.conf" ui_msg "and edit ${prefix}/etc/bitlbee/bitlbee.conf to taste" } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" default_variants +otr variant otr description {Off-the-Record messaging} { configure.args-delete --otr=0 configure.args-append --otr=1 depends_lib-append port:libotr }