Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0
name epic5
version 0.0.5
categories irc
maintainers nomaintainer@macports.org
description (E)nhanced (P)rogrammable (I)RC-II (C)lient 5
homepage http://www.epicsol.org/
platforms darwin
long_description \
EPIC5 is the new development branch of EPIC, which is a \
new direction in ircII development. No longer is EPIC 100% \
backwards compatable with ircII, but instead we have chosen \
to find those things where compatability is undesirable, \
and fix them. No gratuitous incompatabilities have been \
added, but lots of new code has been added to make EPIC the \
best ircII client we could make.

master_sites ftp://ftp.epicsol.org/pub/epic/EPIC5-ALPHA/
use_bzip2 yes
checksums md5 7e44ac1884d2050681adf5a9057370e5

patchfiles patch-configure \
patch-configure.in

post-patch {
reinplace s|__PREFIX__|${prefix}| ${worksrcpath}/configure
}

configure.args --mandir=\\\${prefix}/share/man \
--without-ssl \
--without-ipv6 \
--without-socks \
--without-socks5 \
--without-perl \
--without-tcl

destroot.destdir IP=${destroot}

variant ssl {
configure.args-delete --without-ssl
configure.args-append --with-ssl
depends_lib-append lib:XXX:openssl
}

variant ipv6 {
configure.args-delete --without-ipv6
configure.args-append --with-ipv6
}

files