# New ports collection makefile for:	p5-Net-DNS-ToolKit
# Date created:		2006-09-11
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/dns/p5-Net-DNS-ToolKit/Makefile,v 1.1 2006/10/04 14:33:27 clsung Exp $
#

PORTNAME=	Net-DNS-ToolKit
PORTVERSION=	0.29
CATEGORIES=	dns perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Net
PKGNAMEPREFIX=	p5-

MAINTAINER=	clsung@FreeBSD.org
COMMENT=	Tools for working with DNS packets

BUILD_DEPENDS=	${SITE_PERL}/Net/DNS/Codes.pm:${PORTSDIR}/dns/p5-Net-DNS-Codes \
		${SITE_PERL}/${PERL_ARCH}/NetAddr/IP/Util.pm:${PORTSDIR}/net-mgmt/p5-NetAddr-IP
RUN_DEPENDS:=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Net::DNS::ToolKit.3 \
		Net::DNS::ToolKit::Debug.3 \
		Net::DNS::ToolKit::Question.3 \
		Net::DNS::ToolKit::RR.3 \
		Net::DNS::ToolKit::RR::A.3 \
		Net::DNS::ToolKit::RR::AAAA.3 \
		Net::DNS::ToolKit::RR::CNAME.3 \
		Net::DNS::ToolKit::RR::HINFO.3 \
		Net::DNS::ToolKit::RR::MB.3 \
		Net::DNS::ToolKit::RR::MG.3 \
		Net::DNS::ToolKit::RR::MR.3 \
		Net::DNS::ToolKit::RR::MX.3 \
		Net::DNS::ToolKit::RR::NS.3 \
		Net::DNS::ToolKit::RR::NULL.3 \
		Net::DNS::ToolKit::RR::PTR.3 \
		Net::DNS::ToolKit::RR::SOA.3 \
		Net::DNS::ToolKit::RR::TXT.3 \
		Net::DNS::ToolKit::RR::Template.3 \
		Net::DNS::ToolKit::Utilities.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
CONFIGURE_ARGS+=	LDFLAGS="-Wl,-E -L${LOCALBASE}/lib"
.endif

.include <bsd.port.post.mk>
