# $Id: Portfile,v 1.3 2005/01/03 08:35:34 toby Exp $

PortSystem 1.0
name             epic4
version          2.2
categories       irc
maintainers      eric@opendarwin.org
description      The (E)nhanced (P)rogrammable (I)RC-II (C)lient
homepage         http://www.epicsol.org/
platforms        darwin freebsd
long_description \
    EPIC4 is a new direction in ircII development. No \
    longer is EPIC 100% backwards compatible with ircII, \
    but instead those things where compatibility is \
    undesirable have been found and fixed. No gratuitous \
    incompatibilities have been added, but lots of new \
    code has been added to make EPIC the best ircII client \
    available.

master_sites     ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/
use_bzip2        yes
checksums        md5 e4d5d799b43f3c7882e8e7616099d4fc

configure.args   --mandir=\\\${prefix}/share/man

destroot.destdir prefix=${destroot}${prefix}
post-destroot	{
	file delete -force ${destroot}${prefix}/bin/epic
	system "cd ${destroot}${prefix}/bin && ln -s epic-EPIC4-2.2 epic"
}
