Portfile

# $Id: Portfile 20416 2006-11-03 02:15:53Z jberry@macports.org $

PortSystem 1.0

name dnrd
version 2.20.1
categories net
platforms darwin
maintainers nomaintainer@macports.org
description A proxy DNS daemon
long_description DNRD is a proxy DNS daemon. It supports several forward \
servers for redundancy and/or load-balancing. DNS queries for \
specific domains can be forwarded to a specific group of DNS \
servers (with redundancy and load balancing) for that domain. It \
is useful for VPNs and supports offline and dialup sites \
in a good way.

homepage http://dnrd.sourceforge.net/
master_sites sourceforge
checksums md5 cbd3657617ecb92e0fd19c5c9f1ccfd7

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

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL NEWS \
README ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath}/doc README-cache README-cache.in \
README-cygwin README-master README-master.in TODO master.sample \
${destroot}${prefix}/share/doc/${name}
}

platform darwin 8 {
configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}