# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-dnspython version 1.10.0 categories-append net license ISC platforms darwin supported_archs noarch 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 31 32 checksums rmd160 44f6ddf2b2534be1e6466d96741d688400763b79 \ sha256 4dc21450ec6ac94dd105b4e5f39a75b404ad45a30869ff73acb6fd4d9974f857 if {$subport != $name} { if {${python.version} >= 30} { distname dnspython3-${version} master_sites ${homepage}kits3/${version} checksums rmd160 0c6e84e30b06d713a13ba7615dc723ba42c683f0 \ sha256 1478051ba0ad24aa33ce4cd504190104ede99ca3c8c907163f4cc820ddfe2e95 } } post-destroot { if {${name} != ${subport}} { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}/examples xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README \ ${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 }