# $Id: Portfile 49594 2009-04-13 03:05:32Z blb@macports.org $

PortSystem		1.0
PortGroup		python24 1.0

name			py-dnspython
version			1.6.0
categories		python net
platforms		darwin
maintainers		nomaintainer
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/${version}
distname		dnspython-${version}

checksums		md5     15b8eed42689bd719ec1878a584787ea \
				sha1    e5eeba2d5780db280cc144c7cf777a27972d9ad1 \
				rmd160  b4a40b3fe6a7b63e8c801df6be8346570f121030

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 ddns.py e164.py \
		mx.py name.py reverse.py reverse_name.py \
		xfr.py ${destroot}${prefix}/share/doc/${name}/examples
}

