# $Id: Portfile 75377 2011-01-24 03:47:18Z jmr@macports.org $

PortSystem 1.0

name		xchat
version		1.8.11
revision	1
categories	irc
maintainers	nomaintainer
description	GTK+ IRC client
homepage	http://www.xchat.org/
platforms	darwin

long_description XChat is a graphical IRC client based on GTK that has \
		 many features and can be scripted with Perl and/or Python.

master_sites	http://www.xchat.org/files/source/1.8/
checksums	md5 951f5b2fe2d5deef08f7f519414072a1

use_bzip2	yes

depends_lib	port:gettext port:gtk1

pre-fetch {
    ui_msg "Note: the xchat port installs the old XChat version 1 software."
    ui_msg "You may instead want the xchat2 port which installs XChat version 2."
}

patchfiles  configure.diff

configure.env	LIBS="-L${prefix}/lib"
configure.cflags-append "-I${prefix}/include"

configure.args	--disable-perl

platform darwin i386 {
    configure.args-append --disable-mmx
}

livecheck.type	none
