# New ports collection makefile for:	POE-Component-IRC-Plugin-Corelist
# Date created:	   31 may 2008
# Whom:		   Martin Wilke <miwi@FreeBSD.org
#
# $FreeBSD: branches/RELEASE_8_4_0/irc/p5-POE-Component-IRC-Plugin-CoreList/Makefile 301858 2012-08-02 09:02:43Z cs $
#

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

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	IRC plugin that provides CoreList goodness

BUILD_DEPENDS=	p5-POE>=0:${PORTSDIR}/devel/p5-POE \
		p5-POE-Component-IRC>=0:${PORTSDIR}/irc/p5-POE-Component-IRC
RUN_DEPENDS=	p5-POE>=0:${PORTSDIR}/devel/p5-POE \
		p5-POE-Component-IRC>=0:${PORTSDIR}/irc/p5-POE-Component-IRC

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

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

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

.include <bsd.port.mk>
