# $Id: Portfile 86881 2011-11-06 17:58:16Z ram@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-dnspython version 1.9.4 categories-append net platforms darwin maintainers ram openmaintainer 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} python.versions 24 25 26 27 checksums md5 8a89b7865251c4e9d8ec2f8cc9f8cd78 \ sha1 41d00d0f81bc9aba02c5c62e1d4a8ee57810410e \ rmd160 0ec0bb554208b215e8f70b7ebc41414387d6a178 post-destroot { if {${name} != ${subport}} { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}/examples xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README TODO \ ${destroot}${prefix}/share/doc/${subport} 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/${subport}/examples } } if {${name} == ${subport}} { livecheck.type regex livecheck.url ${homepage} livecheck.regex {is (\d+(?:\.\d+)*),} } else { livecheck.type none }