# $Id: Portfile,v 1.10 2005/10/19 08:10:13 blb Exp $

PortSystem			1.0
name				dnstracer
version				1.8
categories			net sysutils
maintainers			blb@opendarwin.org
description			trace a chain of DNS servers to the source
long_description \
	dnstracer determines where a given Domain Name Server (DNS) gets its \
	information from, and follows the chain of DNS servers back to the \
	servers which know the data.

platforms			darwin freebsd

homepage			http://www.mavetju.org/unix/dnstracer.php
master_sites		http://www.mavetju.org/download/

checksums			md5 f7e4102b572d052ca95567a08d9dde0a

configure.env		CPPFLAGS="-DBIND_8_COMPAT=1"
configure.args		--mandir=${prefix}/share/man

build.type			gnu

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} CHANGES CONTACT LICENSE README \
		${destroot}${prefix}/share/doc/${name}
}

