# -*- 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                   github 1.0

github.setup                rahra utdns 1.2 v
revision                    0
categories                  net
license                     GPL-3
maintainers                 nomaintainer
description                 Proxy UDP/DNS to TCP/DNS
long_description            UTdns is a nifty tool which proxies \
                            all UDP-based DNS requests through TCP DNS.
checksums                   rmd160  40552ebb02940e6a9211016f6674a58010ceab08 \
                            sha256  07abc1260b7a17de80b9c4a80319da0e177165b26273de503bec38d6f23e47b9 \
                            size    22418
github.tarball_from         archive

# https://github.com/rahra/utdns/issues/2
patchfiles                  patch-configure.ac.diff

use_autoreconf              yes

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} README.md doc/cypherpunk.at_20130411.md \
        ${destroot}${docdir}
}
