Portfile

PortSystem 1.0
name weechat
version 0.2.3
categories irc
maintainers ehainry@free.fr
description Fast, light & extensible IRC client
long_description \
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client\
for many operating systems. Everything can be done with a keyboard.\
It is customizable and extensible with plugins/scripts, and includes:\
- nicklist\
- smart hotlist\
- infobar with highlight notification\
- horizontal and vertical split\
- double charset support (decode/encode)\
- FIFO pipe for remote control\
- and much more!
homepage http://weechat.flashtux.org/
platforms darwin
master_sites ${homepage}download/
checksums md5 12c39b30988d78e9544acda6e518476f \
sha1 8a12d63cecc4c2a06d663503f5f9bc7d755396bc \
rmd160 4088c4370d0d9a4a419fda560495de5fb3a003f1
depends_lib port:gettext port:libiconv port:ncurses
configure.env CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
configure.args --without-debug --disable-gnutls --disable-lua \
--disable-perl --disable-python --disable-ruby

use_bzip2 yes

variant lua {
configure.args-delete --disable-lua
configure.args-append --enable-lua
depends_lib-append port:lua
}
variant perl {
configure.args-delete --disable-perl
configure.args-append --enable-perl
depends_lib-append port:perl5.8
}
variant ruby {
configure.args-delete --disable-ruby
configure.args-append --enable-ruby
depends_lib-append port:ruby
}
variant tls {
configure.args-delete --disable-gnutls
configure.args-append --enable-gnutls
depends_lib-append port:gnutls
}