# Ports collection makefile for:  pear-Net_DNSBL
# Date created:			  02 December 2004
# Whom:				  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD: ports/net/pear-Net_DNSBL/Makefile,v 1.5 2006/09/23 00:23:30 linimon Exp $
#

PORTNAME=	Net_DNSBL
PORTVERSION=	1.1.1
CATEGORIES=	net pear

MAINTAINER=	ports@FreeBSD.org
COMMENT=	PEAR DNSBL Checker

BUILD_DEPENDS=	${PEARDIR}/Cache/Lite.php:${PORTSDIR}/sysutils/pear-Cache_Lite \
		${PEARDIR}/Net/CheckIP.php:${PORTSDIR}/net/pear-Net_CheckIP \
		${PEARDIR}/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_PHP=	yes

CATEGORY=	Net
FILES=		DNSBL.php DNSBL/SURBL.php
TESTS=		testNetDNSBL.php testNetDNSBLSURBL.php

.include <bsd.port.pre.mk>

PHP_VERS=	${PHP_VERSION:S/.//g}

.if defined(PHP_VERSION) && ${PHP_VERS} < 436
IGNORE=		need PHP 4.3.6 or later to install PEAR::Net_DNSBL
.endif

.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>
