mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
56b7f6cc0b
- Make use of CPAN:USER macro Changes: http://search.cpan.org/dist/POE/CHANGES PR: ports/163333 Submitted by: Jase Thew <freebsd@beardz.net>
68 lines
2.1 KiB
Makefile
68 lines
2.1 KiB
Makefile
# New ports collection makefile for: POE
|
|
# Date created: 29 Apr 2001
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= POE
|
|
PORTVERSION= 1.350
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:RCAPUTO
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Multitasking and networking framework for perl
|
|
|
|
LICENSE= ART20 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-IO-Tty>=1.08:${PORTSDIR}/devel/p5-IO-Tty \
|
|
p5-POE-Test-Loops>=1.350:${PORTSDIR}/devel/p5-POE-Test-Loops
|
|
RUN_DEPENDS= p5-IO-Tty>=1.08:${PORTSDIR}/devel/p5-IO-Tty \
|
|
p5-POE-Test-Loops>=1.350:${PORTSDIR}/devel/p5-POE-Test-Loops
|
|
|
|
PERL_CONFIGURE= yes
|
|
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::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
|
|
|
|
.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
|
|
|
|
post-install:
|
|
.ifndef(NOPORTEXAMPLES)
|
|
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
test: build
|
|
@(cd ${WRKSRC}; make test)
|
|
|
|
.include <bsd.port.post.mk>
|