# $Id: Portfile 49591 2009-04-13 02:49:09Z blb@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-dns
version			2.3.3
categories		python net
maintainers		nomaintainer
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     40001fb178de5920e7d67c000a782d6a \
				sha1    f34f125143b0db145e9d4c876b653db69a04f24a \
				rmd160  948bc070d4fca6ba7d39296b088df939f8c58656
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
}

