PocketIO is a server implementation of SocketIO in Perl, you still need socket.io javascript library on the client. PocketIO aims to have API as close as possible to the node.js implementation and sometimes it might look not very perlish. WWW: http://search.cpan.org/dist/PocketIO/
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: p5-PocketIO
|
|
# Date created: 2011-10-01
|
|
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= PocketIO
|
|
PORTVERSION= 0.00905
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:VTI
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Socket.IO Plack application
|
|
|
|
BUILD_DEPENDS= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent \
|
|
p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
|
|
p5-Plack>=0:${PORTSDIR}/www/p5-Plack \
|
|
p5-Protocol-WebSocket>=0.00903:${PORTSDIR}/www/p5-Protocol-WebSocket \
|
|
p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
|
|
p5-Twiggy>=0:${PORTSDIR}/www/p5-Twiggy
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= PocketIO.3 \
|
|
PocketIO::Broadcast.3 \
|
|
PocketIO::Connection.3 \
|
|
PocketIO::Handle.3 \
|
|
PocketIO::Message.3 \
|
|
PocketIO::Pool.3 \
|
|
PocketIO::Pool::Redis.3 \
|
|
PocketIO::Resource.3 \
|
|
PocketIO::Socket.3 \
|
|
PocketIO::Sockets.3 \
|
|
PocketIO::Test.3 \
|
|
PocketIO::Transport::Base.3 \
|
|
PocketIO::Transport::BasePolling.3 \
|
|
PocketIO::Transport::Htmlfile.3 \
|
|
PocketIO::Transport::JSONPPolling.3 \
|
|
PocketIO::Transport::WebSocket.3 \
|
|
PocketIO::Transport::XHRMultipart.3 \
|
|
PocketIO::Transport::XHRPolling.3
|
|
|
|
.include <bsd.port.mk>
|