Portfile

# $Id: Portfile 20314 2006-11-01 22:06:50Z blair@macports.org $

PortSystem 1.0
name bitchx
version 1.1
categories irc
maintainers sean@fuzzymagic.com
description BitchX - An IRC Client based on ircII w/ ANSI color and much much more.
long_description BitchX is an IRC (Internet Relay Chat) client by Colten Edwards aka \
panasync@efnet, it is based on it's predecessors ircII and EPIC. \
BitchX was originally started as a script by Trench and HappyCrappy \
for the popular UNIX IRC client ircII. Around Christmas of 1994 the \
script was patched directly into the client by panasync.
homepage http://www.bitchx.org/
platforms darwin
master_sites ftp://ftp.bitchx.org/pub/BitchX/source/
distname ircii-pana-${version}-final
checksums md5 611d2dda222f00c10140236f4c331572
worksrcdir BitchX
configure.args --without-gtk --without-ssl \
--mandir=\\\${prefix}/share/man
patchfiles patch-Makefile.in patch-include__ctcp.h \
patch-include__struct.h \
patch-source__server.c patch-source__term.c
destroot.args prefix=${destroot}${prefix}

platform darwin 6 {
depends_lib-append lib:libdl:dlcompat
}

variant darwin {
# need to keep -g -O2 (the default) while adding -DBIND_8_COMPAT
configure.env CFLAGS="-DBIND_8_COMPAT -g -O2"
}

files