aboutsummaryrefslogtreecommitdiffstats
path: root/irc/p5-POE-Component-IRC-Plugin-RSS-Headlines/Makefile
blob: c3881d349a546462a2ccd7ccb09846a0a9bf8120 (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
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   POE-Component-IRC-Plugin-RSS-Headlines
PORTVERSION=    1.08
PORTREVISION=   2
CATEGORIES= irc perl5 devel
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    POE::Component::IRC plugin that provides RSS headline retrieval

BUILD_DEPENDS=  p5-POE>=1.004:${PORTSDIR}/devel/p5-POE \
        p5-POE-Component-IRC>=5.07:${PORTSDIR}/irc/p5-POE-Component-IRC \
        p5-POE-Component-Client-HTTP>=0.73:${PORTSDIR}/www/p5-POE-Component-Client-HTTP \
        p5-XML-RSS>=1.1:${PORTSDIR}/textproc/p5-XML-RSS \
        p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message
RUN_DEPENDS:=   p5-POE>=1.004:${PORTSDIR}/devel/p5-POE \
        p5-POE-Component-IRC>=5.07:${PORTSDIR}/irc/p5-POE-Component-IRC \
        p5-POE-Component-Client-HTTP>=0.73:${PORTSDIR}/www/p5-POE-Component-Client-HTTP \
        p5-XML-RSS>=1.1:${PORTSDIR}/textproc/p5-XML-RSS \
        p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message

PLIST_SUB=  EXAMPLESDIR="share/examples/${PORTNAME}"
USES=       perl5
USE_PERL5=  configure

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

.include <bsd.port.mk>