2001-05-08 14:22:01 +02:00
|
|
|
# New ports collection makefile for: POE
|
|
|
|
# Date created: 29 Apr 2001
|
|
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= POE
|
2011-05-03 09:50:54 +02:00
|
|
|
PORTVERSION= 1.311
|
2001-05-08 14:22:01 +02:00
|
|
|
CATEGORIES= devel perl5
|
2011-02-08 02:36:28 +01:00
|
|
|
MASTER_SITES= CPAN/${PORTNAME}/RCAPUTO
|
2001-05-08 14:22:01 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2010-06-11 16:27:51 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2003-02-13 13:15:50 +01:00
|
|
|
COMMENT= Multitasking and networking framework for perl
|
2001-05-08 14:22:01 +02:00
|
|
|
|
2011-04-22 17:32:23 +02:00
|
|
|
LICENSE_COMB= dual
|
|
|
|
LICENSE= ART20 GPLv1
|
|
|
|
|
2010-08-25 10:27:36 +02:00
|
|
|
BUILD_DEPENDS= p5-IO-Tty>=1.08:${PORTSDIR}/devel/p5-IO-Tty \
|
2011-05-03 09:50:54 +02:00
|
|
|
p5-POE-Test-Loops>=1.311:${PORTSDIR}/devel/p5-POE-Test-Loops
|
2001-05-08 14:22:01 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
2004-02-05 13:24:33 +01:00
|
|
|
CONFIGURE_ARGS= --default
|
2001-05-08 14:22:01 +02:00
|
|
|
|
2008-06-03 13:36:59 +02:00
|
|
|
MAN3= POE.3 POE::Component.3 POE::Component::Client::TCP.3 \
|
|
|
|
POE::Component::Server::TCP.3 POE::Driver.3 \
|
2010-06-11 16:27:51 +02:00
|
|
|
POE::Driver::SysRW.3 POE::Filter.3 \
|
|
|
|
POE::Filter::Block.3 POE::Filter::Grep.3 \
|
|
|
|
POE::Filter::HTTPD.3 POE::Filter::Line.3 \
|
2008-06-03 13:36:59 +02:00
|
|
|
POE::Filter::Map.3 POE::Filter::RecordBlock.3 \
|
|
|
|
POE::Filter::Reference.3 POE::Filter::Stackable.3 \
|
|
|
|
POE::Filter::Stream.3 POE::Kernel.3 POE::Loop.3 \
|
2010-06-11 16:27:51 +02:00
|
|
|
POE::Loop::IO_Poll.3 POE::Loop::PerlSignals.3 \
|
|
|
|
POE::Loop::Select.3 POE::NFA.3 POE::Pipe.3 \
|
|
|
|
POE::Pipe::OneWay.3 POE::Pipe::TwoWay.3 POE::Queue.3 \
|
|
|
|
POE::Queue::Array.3 POE::Resource.3 \
|
2008-06-03 13:36:59 +02:00
|
|
|
POE::Resource::Aliases.3 POE::Resource::Events.3 \
|
|
|
|
POE::Resource::Extrefs.3 POE::Resource::FileHandles.3 \
|
|
|
|
POE::Resource::SIDs.3 POE::Resource::Sessions.3 \
|
2011-04-22 17:32:23 +02:00
|
|
|
POE::Resource::Signals.3 \
|
2008-06-03 13:36:59 +02:00
|
|
|
POE::Resources.3 POE::Session.3 POE::Wheel.3 \
|
2004-06-19 14:23:44 +02:00
|
|
|
POE::Wheel::Curses.3 POE::Wheel::FollowTail.3 \
|
|
|
|
POE::Wheel::ListenAccept.3 POE::Wheel::ReadLine.3 \
|
|
|
|
POE::Wheel::ReadWrite.3 POE::Wheel::Run.3 \
|
|
|
|
POE::Wheel::SocketFactory.3
|
2001-05-08 14:22:01 +02:00
|
|
|
|
2011-04-23 08:44:52 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501001
|
|
|
|
BUILD_DEPENDS+= p5-IO>=1.24:${PORTSDIR}/devel/p5-IO
|
|
|
|
RUN_DEPENDS+= p5-IO>=1.24:${PORTSDIR}/devel/p5-IO
|
|
|
|
.endif
|
|
|
|
|
2001-07-21 01:09:46 +02:00
|
|
|
post-install:
|
2009-04-12 21:38:10 +02:00
|
|
|
.ifndef(NOPORTEXAMPLES)
|
2002-04-08 18:21:48 +02:00
|
|
|
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2006-09-11 19:34:31 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
2001-08-30 21:30:41 +02:00
|
|
|
.endif
|
2001-07-21 01:09:46 +02:00
|
|
|
|
2009-04-12 21:38:10 +02:00
|
|
|
test: build
|
|
|
|
@(cd ${WRKSRC}; make test)
|
|
|
|
|
2011-04-23 08:44:52 +02:00
|
|
|
.include <bsd.port.post.mk>
|