--- net/ldns-tools/Portfile.orig	2009-09-17 11:19:02.000000000 +0200
+++ net/ldns-tools/Portfile	2009-09-17 11:33:27.000000000 +0200
@@ -3,10 +3,11 @@
 PortSystem 1.0
 
 name                ldns-tools
-version             1.6.0
+version             1.6.1
 categories          net devel
 platforms           darwin
 maintainers         durchmesser.ch:marius.rieder
+license             BSD
 description         Tools for working with dns and dnssec.
 long_description    Tools as examples to the ldns library. \
                     Usefull for debugging/query dns/dnssec server.
@@ -14,13 +15,16 @@
 homepage            http://www.nlnetlabs.nl/projects/ldns/
 master_sites        http://www.nlnetlabs.nl/downloads/ldns/
 distfiles           ldns-${version}${extract.suffix}
-checksums           sha1 e5fdbc5cd66f6afc4f816e9acd334bddc488e830
-depends_lib         port:ldns
+checksums           sha1 625ad56970ebf91ae91af2fbb92b048164717df1
+
+depends_build       bin:glibtool:libtool
+depends_lib         port:-ssl:ldns
+
 worksrcdir          ldns-${version}/examples
-use_autoreconf      yes
-configure.args      --with-ldns=${prefix} --without-ssl
+configure.args      --mandir=${prefix}/share/man --with-ldns=${prefix} --without-ssl
+build.type          gnu
 
-variant ssl {
+variant ssl description {Use ssl to enable all crypt functions} {
     configure.args-delete --without-ssl
     configure.args-append --with-ssl=${prefix}
     depends_lib-append	port:openssl

