aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-11-11 23:51:54 +0800
committerwxs <wxs@FreeBSD.org>2008-11-11 23:51:54 +0800
commit18d57fa29b5d7ae33c732e7bcdd09e19ed08c1f8 (patch)
treeec8ad7b7810bea205a5d03d282cdcd0b7e4797ed
parent9a07c616ee0bfe05107df00efa7677c5896ccd72 (diff)
downloadfreebsd-ports-gnome-18d57fa29b5d7ae33c732e7bcdd09e19ed08c1f8.tar.gz
freebsd-ports-gnome-18d57fa29b5d7ae33c732e7bcdd09e19ed08c1f8.tar.zst
freebsd-ports-gnome-18d57fa29b5d7ae33c732e7bcdd09e19ed08c1f8.zip
This module is another attempt to fight the horrors of
non-blocking I/O programming. It tries to bring back the simplicity of the declarative programming style, that is only otherwise available when one employs threads, coroutines, or co-processes. PR: ports/128652 Submitted by: Vany Serezhkin <ivan@serezhkin.com>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-IO-Lambda/Makefile45
-rw-r--r--devel/p5-IO-Lambda/distinfo3
-rw-r--r--devel/p5-IO-Lambda/pkg-descr8
-rw-r--r--devel/p5-IO-Lambda/pkg-plist22
5 files changed, 79 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1e537d3c13d1..52b4573eafcd 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1383,6 +1383,7 @@
SUBDIR += p5-IO-CaptureOutput
SUBDIR += p5-IO-Digest
SUBDIR += p5-IO-KQueue
+ SUBDIR += p5-IO-Lambda
SUBDIR += p5-IO-LockedFile
SUBDIR += p5-IO-Multiplex
SUBDIR += p5-IO-NestedCapture
diff --git a/devel/p5-IO-Lambda/Makefile b/devel/p5-IO-Lambda/Makefile
new file mode 100644
index 000000000000..4d74d1c4449e
--- /dev/null
+++ b/devel/p5-IO-Lambda/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: devel/p5-IO-Lambda
+# Date created: 06 Nov 2008
+# Whom: Vany Serezhkin <ivan@serezhkin.com>
+#
+# $FreeBSD$
+
+PORTNAME= IO-Lambda
+PORTVERSION= 0.36
+CATEGORIES= devel perl5 parallel net www databases
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ivan@serezhkin.com
+COMMENT= Non-blocking I/O in lambda style
+
+BUILD_DEPENDS= p5-Sub-Name>=0.04:${PORTSDIR}/devel/p5-Sub-Name \
+ p5-Net-DNS>=0.63:${PORTSDIR}/dns/p5-Net-DNS \
+ p5-libwww>=5.819:${PORTSDIR}/www/p5-libwww \
+ p5-URI>=1.37:${PORTSDIR}/net/p5-URI
+
+RUN_DEPENDS:= ${BUILD_DEPENDS} \
+ p5-IO-Socket-SSL>=1.17:${PORTSDIR}/security/p5-IO-Socket-SSL \
+ p5-AnyEvent>=4.5.12:${PORTSDIR}/devel/p5-AnyEvent \
+ p5-DBI>=1.60.4:${PORTSDIR}/databases/p5-DBI
+
+PERL_CONFIGURE= yes
+CONFIGURE_ARGS+= --no-online-tests
+
+MAN3= IO::Lambda.3 \
+ IO::Lambda::DBI.3 \
+ IO::Lambda::DNS.3 \
+ IO::Lambda::Fork.3 \
+ IO::Lambda::HTTP.3 \
+ IO::Lambda::HTTP::Authen::NTLM.3 \
+ IO::Lambda::HTTPS.3 \
+ IO::Lambda::Loop::AnyEvent.3 \
+ IO::Lambda::Loop::Prima.3 \
+ IO::Lambda::Loop::Select.3 \
+ IO::Lambda::Message.3 \
+ IO::Lambda::SNMP.3 \
+ IO::Lambda::Signal.3 \
+ IO::Lambda::Socket.3 \
+ IO::Lambda::Thread.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-IO-Lambda/distinfo b/devel/p5-IO-Lambda/distinfo
new file mode 100644
index 000000000000..a8fbe35c6ed8
--- /dev/null
+++ b/devel/p5-IO-Lambda/distinfo
@@ -0,0 +1,3 @@
+MD5 (IO-Lambda-0.36.tar.gz) = 245ff90c5f2cf262a80a187b2ecdc915
+SHA256 (IO-Lambda-0.36.tar.gz) = 14116da32bc44844e0e635c1c99bf927e7c36b06e51e1b7ee76c16787f79addc
+SIZE (IO-Lambda-0.36.tar.gz) = 61081
diff --git a/devel/p5-IO-Lambda/pkg-descr b/devel/p5-IO-Lambda/pkg-descr
new file mode 100644
index 000000000000..84ad32d8679e
--- /dev/null
+++ b/devel/p5-IO-Lambda/pkg-descr
@@ -0,0 +1,8 @@
+This module is another attempt to fight the horrors of
+non-blocking I/O programming. It tries to bring back the
+simplicity of the declarative programming style, that is
+only otherwise available when one employs threads,
+coroutines, or co-processes.
+
+WWW: http://search.cpan.org/~karasik/IO-Lambda-0.36/
+Author: Dmitry Karasik <dmitry@karasik.eu.org>
diff --git a/devel/p5-IO-Lambda/pkg-plist b/devel/p5-IO-Lambda/pkg-plist
new file mode 100644
index 000000000000..dd51bf14cd25
--- /dev/null
+++ b/devel/p5-IO-Lambda/pkg-plist
@@ -0,0 +1,22 @@
+%%SITE_PERL%%/IO/Lambda.pm
+%%SITE_PERL%%/IO/Lambda/DBI.pm
+%%SITE_PERL%%/IO/Lambda/DNS.pm
+%%SITE_PERL%%/IO/Lambda/Fork.pm
+%%SITE_PERL%%/IO/Lambda/HTTP.pm
+%%SITE_PERL%%/IO/Lambda/HTTP/Authen/NTLM.pm
+%%SITE_PERL%%/IO/Lambda/HTTP/Authen/Negotiate.pm
+%%SITE_PERL%%/IO/Lambda/HTTPS.pm
+%%SITE_PERL%%/IO/Lambda/Loop/AnyEvent.pm
+%%SITE_PERL%%/IO/Lambda/Loop/Prima.pm
+%%SITE_PERL%%/IO/Lambda/Loop/Select.pm
+%%SITE_PERL%%/IO/Lambda/Message.pm
+%%SITE_PERL%%/IO/Lambda/SNMP.pm
+%%SITE_PERL%%/IO/Lambda/Signal.pm
+%%SITE_PERL%%/IO/Lambda/Socket.pm
+%%SITE_PERL%%/IO/Lambda/Thread.pm
+%%SITE_PERL%%/mach/auto/IO/Lambda/.packlist
+@dirrm %%SITE_PERL%%/mach/auto/IO/Lambda
+@dirrm %%SITE_PERL%%/IO/Lambda/Loop
+@dirrm %%SITE_PERL%%/IO/Lambda/HTTP/Authen
+@dirrm %%SITE_PERL%%/IO/Lambda/HTTP
+@dirrm %%SITE_PERL%%/IO/Lambda