# $Id: Portfile 106458 2013-05-27 16:14:24Z larryv@macports.org $

PortSystem 1.0

name                drill
version             1.6.16
categories          net devel
platforms           darwin
license             BSD
maintainers         durchmesser.ch:marius.rieder
description         A dig-style dnssec-aware dns debugging tool
long_description    Drill is a tool ala dig from BIND. \
                    It was designed with DNSSEC in mind and should be a useful \
                    debugging/query tool for DNSSEC.

homepage            http://www.nlnetlabs.nl/projects/drill/
master_sites        http://www.nlnetlabs.nl/downloads/ldns/
distname            ldns-${version}
dist_subdir         ldns

checksums           rmd160  e4281eb00275ae5700a4d601ee64faf9aa72f37c \
                    sha256  24b2f9cb05797170f2021ef0e0372d4b5225ee4199f0568a15589b5c524df695

depends_build       bin:glibtool:libtool
depends_lib         port:ldns port:openssl

worksrcdir          ldns-${version}/drill
configure.args      --mandir=${prefix}/share/man --with-ldns=${prefix} --with-ssl=${prefix}

livecheck.type      regex
livecheck.url       http://www.nlnetlabs.nl/projects/ldns/
livecheck.regex     "The latest release is (\\d+(?:\\.\\d+)*)"
