summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-02 20:05:56 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-02 20:05:56 +0000
commitb8d6f50e6c82e0748a3ae53a1e6a89b76bd0c781 (patch)
treeddd71e11b889b2eb78cac9baf3d346be7120c711
parent- Mark BROKEN: does not compile (diff)
- Add p5-PocketIO 0.00905
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/
Notes
Notes: svn path=/head/; revision=282828
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-PocketIO/Makefile47
-rw-r--r--www/p5-PocketIO/distinfo2
-rw-r--r--www/p5-PocketIO/pkg-descr7
-rw-r--r--www/p5-PocketIO/pkg-plist23
5 files changed, 80 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4cf524ff6ef2..2f3125ae1306 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1148,6 +1148,7 @@
SUBDIR += p5-Plack-Server-POE
SUBDIR += p5-Plack-Server-ReverseHTTP
SUBDIR += p5-Plack-Test-ExternalServer
+ SUBDIR += p5-PocketIO
SUBDIR += p5-Pod-Site
SUBDIR += p5-PodToHTML
SUBDIR += p5-Protocol-WebSocket
diff --git a/www/p5-PocketIO/Makefile b/www/p5-PocketIO/Makefile
new file mode 100644
index 000000000000..85dd3a0914d5
--- /dev/null
+++ b/www/p5-PocketIO/Makefile
@@ -0,0 +1,47 @@
+# 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>
diff --git a/www/p5-PocketIO/distinfo b/www/p5-PocketIO/distinfo
new file mode 100644
index 000000000000..861a4569c765
--- /dev/null
+++ b/www/p5-PocketIO/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PocketIO-0.00905.tar.gz) = db9b08aad67c425e421bd408d47faa8266dfeb1fb3aeeaa64614f05d40a116ed
+SIZE (PocketIO-0.00905.tar.gz) = 403444
diff --git a/www/p5-PocketIO/pkg-descr b/www/p5-PocketIO/pkg-descr
new file mode 100644
index 000000000000..cc80fe3cd961
--- /dev/null
+++ b/www/p5-PocketIO/pkg-descr
@@ -0,0 +1,7 @@
+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/
diff --git a/www/p5-PocketIO/pkg-plist b/www/p5-PocketIO/pkg-plist
new file mode 100644
index 000000000000..7879f358895d
--- /dev/null
+++ b/www/p5-PocketIO/pkg-plist
@@ -0,0 +1,23 @@
+%%SITE_PERL%%/PocketIO.pm
+%%SITE_PERL%%/PocketIO/Broadcast.pm
+%%SITE_PERL%%/PocketIO/Connection.pm
+%%SITE_PERL%%/PocketIO/Handle.pm
+%%SITE_PERL%%/PocketIO/Message.pm
+%%SITE_PERL%%/PocketIO/Pool.pm
+%%SITE_PERL%%/PocketIO/Pool/Redis.pm
+%%SITE_PERL%%/PocketIO/Resource.pm
+%%SITE_PERL%%/PocketIO/Socket.pm
+%%SITE_PERL%%/PocketIO/Sockets.pm
+%%SITE_PERL%%/PocketIO/Test.pm
+%%SITE_PERL%%/PocketIO/Transport/Base.pm
+%%SITE_PERL%%/PocketIO/Transport/BasePolling.pm
+%%SITE_PERL%%/PocketIO/Transport/Htmlfile.pm
+%%SITE_PERL%%/PocketIO/Transport/JSONPPolling.pm
+%%SITE_PERL%%/PocketIO/Transport/WebSocket.pm
+%%SITE_PERL%%/PocketIO/Transport/XHRMultipart.pm
+%%SITE_PERL%%/PocketIO/Transport/XHRPolling.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/PocketIO/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PocketIO
+@dirrm %%SITE_PERL%%/PocketIO/Transport
+@dirrm %%SITE_PERL%%/PocketIO/Pool
+@dirrm %%SITE_PERL%%/PocketIO