# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-dns
version             2.3.4
categories-append   net
platforms           darwin freebsd
license             PSF
maintainers         nomaintainer

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/

supported_archs     noarch

master_sites        sourceforge:pydns
distname            pydns-${version}
checksums           md5     f2cd357a101ad7dd2b3f353a8dad51b8 \
                    sha1    5934e0f5c4d2fbb76011e5b6dcec9eee96b08652 \
                    rmd160  77704bd8239d4fb67b83b586e70ccf7d43da612b

python.versions     27

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 644 -W ${worksrcpath} \
                CREDITS.txt README-guido.txt README.txt \
                ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 644 -W ${worksrcpath}/tests \
                test.py test2.py test4.py test5.py testPackers.py testsrv.py \
                ${destroot}${prefix}/share/doc/${subport}/examples
    }
}