aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-POE/Makefile
blob: 58d88e8cf0e3b4ff59eb81f3c2e95cd76e049a3e (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=	POE
PORTVERSION=	1.356
PORTREVISION=	1
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Multitasking and networking framework for perl

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

BUILD_DEPENDS=	p5-Curses>=1.08:${PORTSDIR}/devel/p5-Curses \
		p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
		p5-IO-Pipely>=0.005:${PORTSDIR}/devel/p5-IO-Pipely \
		p5-IO-Tty>=1.08:${PORTSDIR}/devel/p5-IO-Tty \
		p5-POE-Test-Loops>=1.352:${PORTSDIR}/devel/p5-POE-Test-Loops \
		p5-Socket-GetAddrInfo>=0.20:${PORTSDIR}/net/p5-Socket-GetAddrInfo \
		p5-Term-ReadKey>=2.21:${PORTSDIR}/devel/p5-Term-ReadKey \
		p5-URI>=1.30:${PORTSDIR}/net/p5-URI \
		p5-libwww>=5.79:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:=	${BUILD_DEPENDS}

USES=		perl5
USE_PERL5=	configure
CONFIGURE_ARGS=	--default

MAN3=		POE.3 POE::Component.3 POE::Component::Client::TCP.3 \
		POE::Component::Server::TCP.3 POE::Driver.3 \
		POE::Driver::SysRW.3 POE::Filter.3 \
		POE::Filter::Block.3 POE::Filter::Grep.3 \
		POE::Filter::HTTPD.3 POE::Filter::Line.3 \
		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 \
		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 \
		POE::Resource::Aliases.3 POE::Resource::Events.3 \
		POE::Resource::Extrefs.3 POE::Resource::FileHandles.3 \
		POE::Resource::SIDs.3 POE::Resource::Sessions.3 \
		POE::Resource::Signals.3 POE::Resource::Clock.3 \
		POE::Resources.3 POE::Session.3 POE::Wheel.3 \
		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

NO_STAGE=	yes
.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
	@${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

test: build
	@(cd ${WRKSRC}; make test)

.include <bsd.port.mk>