aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Protocol-SocketIO
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-01-23 05:17:39 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-01-23 05:17:39 +0800
commitff1bd65444cd5acaa3a85d813eeaed101b5cc1c2 (patch)
tree4b0fc66a7c40e8cd65005864676e43a95da0d81c /www/p5-Protocol-SocketIO
parent719753bcf5eb9e7e90568e177f42583d59bbb2bc (diff)
downloadfreebsd-ports-gnome-ff1bd65444cd5acaa3a85d813eeaed101b5cc1c2.tar.gz
freebsd-ports-gnome-ff1bd65444cd5acaa3a85d813eeaed101b5cc1c2.tar.zst
freebsd-ports-gnome-ff1bd65444cd5acaa3a85d813eeaed101b5cc1c2.zip
- Add p5-Protocol-SocketIO 0.0001
Protocol::SocketIO is a set of modules that implement Socket.IO protocol without depending on event loops, HTTP parsers and HTTP servers. WWW: http://search.cpan.org/dist/Protocol-SocketIO/
Diffstat (limited to 'www/p5-Protocol-SocketIO')
-rw-r--r--www/p5-Protocol-SocketIO/Makefile36
-rw-r--r--www/p5-Protocol-SocketIO/distinfo2
-rw-r--r--www/p5-Protocol-SocketIO/pkg-descr4
-rw-r--r--www/p5-Protocol-SocketIO/pkg-plist10
4 files changed, 52 insertions, 0 deletions
diff --git a/www/p5-Protocol-SocketIO/Makefile b/www/p5-Protocol-SocketIO/Makefile
new file mode 100644
index 000000000000..3623997f83f8
--- /dev/null
+++ b/www/p5-Protocol-SocketIO/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-Protocol-SocketIO
+# Date created: 2012-01-23
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Protocol-SocketIO
+PORTVERSION= 0.00.01
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:VTI
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Socket.IO protocol implementation
+
+BUILD_DEPENDS= p5-JSON>=0:${PORTSDIR}/converters/p5-JSON
+RUN_DEPENDS= p5-JSON>=0:${PORTSDIR}/converters/p5-JSON
+
+PERL_CONFIGURE= yes
+REINPLACE_ARGS= -i ''
+
+MAN3= Protocol::SocketIO.3 \
+ Protocol::SocketIO::Handshake.3 \
+ Protocol::SocketIO::Message.3 \
+ Protocol::SocketIO::Path.3
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|Protocol::SocketiO|Protocol::SocketIO|' \
+ ${WRKSRC}/lib/Protocol/SocketIO.pm ${WRKSRC}/lib/Protocol/SocketIO/*.pm
+ @${REINPLACE_CMD} -e 's|Protocol::SocketIO::Handhskae|Protocol::SocketIO::Handshake|' \
+ ${WRKSRC}/lib/Protocol/SocketIO/Handshake.pm
+
+.include <bsd.port.mk>
diff --git a/www/p5-Protocol-SocketIO/distinfo b/www/p5-Protocol-SocketIO/distinfo
new file mode 100644
index 000000000000..40f6f51aea3e
--- /dev/null
+++ b/www/p5-Protocol-SocketIO/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Protocol-SocketIO-0.0001.tar.gz) = 04f6428a0fc944223b7fb488c5c8103e6bab889114cacb628499ec61e9eea94c
+SIZE (Protocol-SocketIO-0.0001.tar.gz) = 28392
diff --git a/www/p5-Protocol-SocketIO/pkg-descr b/www/p5-Protocol-SocketIO/pkg-descr
new file mode 100644
index 000000000000..3cd908d2c01f
--- /dev/null
+++ b/www/p5-Protocol-SocketIO/pkg-descr
@@ -0,0 +1,4 @@
+Protocol::SocketIO is a set of modules that implement Socket.IO protocol without
+depending on event loops, HTTP parsers and HTTP servers.
+
+WWW: http://search.cpan.org/dist/Protocol-SocketIO/
diff --git a/www/p5-Protocol-SocketIO/pkg-plist b/www/p5-Protocol-SocketIO/pkg-plist
new file mode 100644
index 000000000000..82716ae3e749
--- /dev/null
+++ b/www/p5-Protocol-SocketIO/pkg-plist
@@ -0,0 +1,10 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/Protocol/SocketIO.pm
+%%SITE_PERL%%/Protocol/SocketIO/Message.pm
+%%SITE_PERL%%/Protocol/SocketIO/Path.pm
+%%SITE_PERL%%/Protocol/SocketIO/Handshake.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Protocol/SocketIO/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Protocol/SocketIO
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Protocol
+@dirrm %%SITE_PERL%%/Protocol/SocketIO
+@dirrmtry %%SITE_PERL%%/Protocol