# $Id: Portfile,v 1.6 2005/10/31 15:35:41 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-dnspython
version			1.3.5
categories		python net
platforms		darwin
maintainers		mww@opendarwin.org
description		DNS toolkit for Python
long_description	dnspython is a DNS toolkit for Python. It supports \
				almost all record types. It can be used for queries, \
				zone transfers, and dynamic updates. It supports TSIG \
				authenticated messages and EDNS0.

homepage		http://www.dnspython.org/
master_sites	${homepage}/kits/stable/
distname		dnspython-${version}
checksums		md5 d086b05b70f7ab1b6308f29f2427623b

post-destroot	{
	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
	xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README TODO \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/examples mx.py name.py reverse.py \
		xfr.py ${destroot}${prefix}/share/doc/${name}/examples
}
