# $Id: Portfile 40570 2008-10-07 09:04:33Z afb@macports.org $ PortSystem 1.0 name xchat2 version 2.8.6 revision 1 categories irc maintainers afb@macports.org openmaintainer description GTK+2 IRC client homepage http://www.xchat.org/ platforms darwin long_description \ XChat2 is a graphical IRC client based on GTK2 that has \ many features and can be scripted with Perl and/or Python. master_sites http://xchat.org/files/source/2.8/ patch_sites http://xchat.org/files/source/2.8/patches/ distname xchat-${version} patchfiles xc286-smallfixes.diff patch-xtext.h checksums xchat-${version}.tar.bz2 md5 1f2670865d43a23a9abc596dde999aca \ xchat-${version}.tar.bz2 sha1 7a7463e65cb26c680ed70dd96cec98bcc05435a4 \ xchat-${version}.tar.bz2 rmd160 bc199e3b58a9db3dfd9f2af6bac7fb6162c53d6e \ xc286-smallfixes.diff md5 eb68b6261bf6740cb5f223627eb8f384 \ xc286-smallfixes.diff sha1 b13eb421f6d72fca195b398c606d9413aec57fc4 \ xc286-smallfixes.diff rmd160 91c654320b7b1f9d6b13f7b226fb4cec26054319 use_bzip2 yes depends_lib port:gtk2 port:perl5.8 patch.args -p1 configure.ldflags-append "-L${x11prefix}/lib" configure.cflags-append "-I${prefix}/include" configure.cppflags-append "-I${x11prefix}/include -no-cpp-precomp" configure.args --disable-python --disable-mmx platform darwin 6 { configure.args-append --enable-tcl=/System/Library/Tcl/8.3 } platform darwin 7 { configure.args-append --enable-tcl=/usr/lib } variant xft { configure.args-append --enable-xft } variant ssl { configure.args-append --enable-openssl } variant ipv6 { configure.args-append --enable-ipv6 } livecheck.url http://www.xchat.org/files/source/2.8/?S=D livecheck.regex xchat-(\[0-9.\]+)${extract.suffix}