# New ports collection makefile for:	p5-POE-Component-IRC-Plugin-QueryDNSBL
# Date created:	   20.06.2008
# Whom:		   Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD: ports/irc/p5-POE-Component-IRC-Plugin-QueryDNSBL/Makefile,v 1.4 2012/03/17 04:22:55 miwi Exp $
#

PORTNAME=	POE-Component-IRC-Plugin-QueryDNSBL
PORTVERSION=	1.02
PORTREVISION=	1
CATEGORIES=	irc perl5 devel
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	A POE::Component::IRC plugin for IRC based DNSBL queries

BUILD_DEPENDS=	p5-POE>=0:${PORTSDIR}/devel/p5-POE \
		p5-POE-Component-IRC>=6.68:${PORTSDIR}/irc/p5-POE-Component-IRC \
		p5-POE-Component-Client-DNSBL>=0.06:${PORTSDIR}/dns/p5-POE-Component-Client-DNSBL \
		p5-Net-IP>=1.25:${PORTSDIR}/net-mgmt/p5-Net-IP
RUN_DEPENDS:=	p5-POE>=0:${PORTSDIR}/devel/p5-POE \
		p5-POE-Component-IRC>=6.68:${PORTSDIR}/irc/p5-POE-Component-IRC \
		p5-POE-Component-Client-DNSBL>=0.06:${PORTSDIR}/dns/p5-POE-Component-Client-DNSBL \
		p5-Net-IP>=1.25:${PORTSDIR}/net-mgmt/p5-Net-IP

PLIST_SUB=	EXAMPLESDIR="share/examples/${PORTNAME}"
PERL_CONFIGURE=	yes

MAN3=		POE::Component::IRC::Plugin::QueryDNSBL.3

post-install:
.ifndef(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>
