# $Id: Portfile 83385 2011-08-31 01:52:26Z dports@macports.org $

PortSystem 1.0
PortGroup python27 1.0

name			py27-dns
version			2.3.4
categories		python net
maintainers		nomaintainer
platforms		darwin freebsd
license         PSF
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     f2cd357a101ad7dd2b3f353a8dad51b8 \
                sha1    5934e0f5c4d2fbb76011e5b6dcec9eee96b08652 \
                rmd160  77704bd8239d4fb67b83b586e70ccf7d43da612b
distname		pydns-${version}

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
}

