Portfile

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

PortSystem 1.0
PortGroup python24 1.0

name py-dns
version 2.3.0
revision 2
categories python net
maintainers nomaintainer@macports.org
platforms darwin freebsd
description module for performing DNS queries from python
long_description py-dns provides a module for performing DNS queries \
from python applications.

homepage http://pydns.sourceforge.net/
master_sites sourceforge:pydns
checksums md5 b79616da9e88abce88edf82b369ee58d
distname pydns-${version}
extract.suffix .tgz

post-destroot {
xinstall -m 644 -W ${worksrcpath} CREDITS.txt README-guido.txt \
README.txt ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath}/tests test.py test2.py test4.py \
test5.py testPackers.py testsrv.py \
${destroot}${prefix}/share/doc/${name}/examples
}