# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD: branches/RELENG_9_1_0/net/p5-Net-Patricia/Makefile 305769 2012-10-12 09:45:56Z culot $

PORTNAME=	Net-Patricia
PORTVERSION=	1.20
CATEGORIES=	net perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl module for fast IP address lookups

BUILD_DEPENDS=	p5-Net-CIDR-Lite>=0.20:${PORTSDIR}/net/p5-Net-CIDR-Lite
RUN_DEPENDS=	p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6

PERL_CONFIGURE=	YES

MAN3=		Net::Patricia.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+=	p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>
