# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD: tags/RELEASE_11_0_0/irc/p5-POE-Component-IRC-Plugin-RSS-Headlines/Makefile 412347 2016-04-01 14:08:37Z mat $

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:devel/p5-POE \
		p5-POE-Component-IRC>=5.07:irc/p5-POE-Component-IRC \
		p5-POE-Component-Client-HTTP>=0.73:www/p5-POE-Component-Client-HTTP \
		p5-XML-RSS>=1.1:textproc/p5-XML-RSS \
		p5-HTTP-Message>=0:www/p5-HTTP-Message
RUN_DEPENDS:=	${BUILD_DEPENDS}

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

OPTIONS_DEFINE=	EXAMPLES

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

.include <bsd.port.mk>
