aboutsummaryrefslogtreecommitdiffstats
path: root/irc/p5-POE-Component-IRC-Plugin-QueryDNSBL/Makefile
blob: cd373990106cf4604abae8b9090f94ea40ba06c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$

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

MAINTAINER= perl@FreeBSD.org
COMMENT=    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}"
USES=       perl5 shebangfix
USE_PERL5=  configure

SHEBANG_FILES=  examples/*.pl
PORTEXAMPLES=   *

OPTIONS_DEFINE= EXAMPLES

post-install:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>