6ee10a6302
that provides DNS query facilities to the channels it occupies and via private messaging. It uses POE::Component::Client::DNS to do non-blocking DNS queries. By default the plugin attempts to use POE::Component::IRC's internal PoCo-Client-DNS resolver object, but will spawn its own copy. You can supply your own resolver object via the constructor. WWW: http://search.cpan.org/dist/POE-Component-IRC-Plugin-QueryDNS/
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# New ports collection makefile for: p5-POE-Component-IRC-Plugin-QueryDNS
|
|
# Date created: 20.06.2008
|
|
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= POE-Component-IRC-Plugin-QueryDNS
|
|
PORTVERSION= 0.06
|
|
CATEGORIES= irc perl5 devel
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
|
COMMENT= A POE::Component::IRC plugin for IRC based DNS queries
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
|
|
${SITE_PERL}/POE/Component/IRC.pm:${PORTSDIR}/irc/p5-POE-Component-IRC \
|
|
p5-POE-Component-Client-DNS>=1.00:${PORTSDIR}/dns/p5-POE-Component-Client-DNS
|
|
RUN_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
|
|
${SITE_PERL}/POE/Component/IRC.pm:${PORTSDIR}/irc/p5-POE-Component-IRC \
|
|
p5-POE-Component-Client-DNS>=1.00:${PORTSDIR}/dns/p5-POE-Component-Client-DNS
|
|
|
|
PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= POE::Component::IRC::Plugin::QueryDNS.3
|
|
|
|
post-install:
|
|
.ifndef(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|