# $Id: Portfile 84993 2011-10-06 23:23:29Z jmr@macports.org $

PortSystem 1.0
PortGroup perl5 1.0

perl5.setup		Net-DNS 0.66
revision        2
license			{Artistic-1 GPL}
maintainers		nomaintainer
description		Perl interface to the DNS resolver
long_description	Net::DNS is a DNS resolver implemented in Perl.  It \
					allows the programmer to perform nearly any type of \
					DNS query from a Perl script.
checksums		md5     1635d876324e3c2f6e277d5778bfe94c \
				sha1    1f1f78c11542916460821a0686d4b6c401bf3fc9 \
				rmd160  25f52d4d2fb10e9be6f136ff09be75d91ef7f537
platforms		darwin

if {${perl5.major} != ""} {
depends_lib-append		\
				port:p${perl5.major}-digest-hmac \
				port:p${perl5.major}-io-socket-inet6 \
				port:p${perl5.major}-net-ip
}
