# $Id: Portfile 51470 2009-05-25 23:14:26Z toby@macports.org $

PortSystem 1.0
name            ngircd
version         14.1
categories      irc
maintainers     nomaintainer
description     next generation IRC daemon
long_description \
    ngIRCd is a free open source daemon for \
    Internet Relay Chat (IRC). It's written \
    from scratch and is not based upon the \
    original IRCd like many others.
homepage        http://ngircd.barton.de/
platforms       darwin
master_sites    ftp://ftp.berlios.de/pub/ngircd/ \
                ftp://ngircd.barton.de/pub/ngircd/
checksums       md5 eef90855414c35bfb6590d17e24ee06f \
                sha1 d81f384faea61ed5267e37d0ffde325120141d03 \
                rmd160 895416744487d167472efb6ca805eb7bc54f811d

depends_lib     port:libident

configure.args  --mandir=${prefix}/share/man \
                --enable-ipv6 \
                --with-tcp-wrappers \
                --with-zeroconf \
                --with-ident

pre-configure {
    reinplace s|600|644|g ${worksrcpath}/doc/Makefile.in
}
