# -*- 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 xchat2 version 2.8.8 revision 10 set branch [join [lrange [split ${version} .] 0 1] .] categories irc platforms darwin license GPL-2+ maintainers nomaintainer description GTK+2 IRC client long_description XChat2 is a graphical IRC client based on GTK2 \ that has many features and can be scripted with \ Perl and/or Python. homepage http://www.xchat.org/ depends_build port:pkgconfig depends_lib port:gtk2 \ port:libpng \ port:libsexy \ path:bin/perl:perl5 master_sites http://xchat.org/files/source/${branch}/ patch_sites http://xchat.org/files/source/${branch}/patches/ distname xchat-${version} use_bzip2 yes checksums md5 6775c44f38e84d06c06c336b32c4a452 \ sha1 a4ac161e4e40f4bbabc492675a1ff4380dba8d68 \ rmd160 1bc3e0ff00e15c83588dd21a3ef3e8e34f953331 post-extract { touch ${worksrcpath}/NEWS ${worksrcpath}/ABOUT-NLS } patch.pre_args -p1 patchfiles patch-gtk2.19.7.diff \ patch-glib-2.32.diff \ patch-gmodule.diff use_autoconf yes configure.args --disable-python \ --disable-mmx \ --enable-ipv6 \ --disable-openssl \ --disable-dependency-tracking universal_variant no variant xft conflicts quartz description {Enable Xft2 font support} { configure.args-append --enable-xft } variant ssl description {Enable SSL using OpenSSL} { configure.args-replace --disable-openssl --enable-openssl depends_lib-append path:lib/libssl.dylib:openssl } variant quartz conflicts xft { configure.args-append --disable-xlib } # TODO: Remove after 2016-05-21. variant python25 description {Legacy variant} requires python27 {} variant python26 description {Legacy variant} requires python27 {} variant python27 description {Enable Python 2.7 plugin} { configure.args-replace --disable-python --enable-python depends_lib-append port:python27 configure.env pythonpath="${prefix}/bin/python2.7" } livecheck.url http://www.xchat.org/files/source/${branch}/?S=D livecheck.regex xchat-(\[0-9.\]+)${extract.suffix}