# $Id: Portfile,v 1.9 2004/12/29 12:13:17 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-dns
version			2.3.0
revision		2
categories		python net
maintainers		mww@opendarwin.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
}
