aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/Makefile1
-rw-r--r--lang/p5-Promises/Makefile17
-rw-r--r--lang/p5-Promises/distinfo2
-rw-r--r--lang/p5-Promises/pkg-descr6
-rw-r--r--lang/p5-Promises/pkg-plist29
5 files changed, 55 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 57e717ceb806..98d25b4b0c58 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -195,6 +195,7 @@
SUBDIR += p5-Modern-Perl
SUBDIR += p5-Parse-Perl
SUBDIR += p5-Perl6-Subs
+ SUBDIR += p5-Promises
SUBDIR += p5-Pugs-Compiler-Rule
SUBDIR += p5-Quantum-Superpositions
SUBDIR += p5-Scalar-List-Utils
diff --git a/lang/p5-Promises/Makefile b/lang/p5-Promises/Makefile
new file mode 100644
index 000000000000..58d4f1b1a21c
--- /dev/null
+++ b/lang/p5-Promises/Makefile
@@ -0,0 +1,17 @@
+# Created by: Tom Judge <tj@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Promises
+PORTVERSION= 0.94
+CATEGORIES= lang perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:STEVAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tj@FreeBSD.org
+COMMENT= An implementation of the Promise/A+ pattern
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/lang/p5-Promises/distinfo b/lang/p5-Promises/distinfo
new file mode 100644
index 000000000000..3d0cad000558
--- /dev/null
+++ b/lang/p5-Promises/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Promises-0.94.tar.gz) = 81328d71e35d48995da8f6a5da1196c72b4eef720d1ce173405c6fa3c717a9c3
+SIZE (Promises-0.94.tar.gz) = 38029
diff --git a/lang/p5-Promises/pkg-descr b/lang/p5-Promises/pkg-descr
new file mode 100644
index 000000000000..182b2a4b33a6
--- /dev/null
+++ b/lang/p5-Promises/pkg-descr
@@ -0,0 +1,6 @@
+This module is an implementation of the "Promise/A+" pattern for
+asynchronous programming. Promises are meant to be a way to
+better deal with the resulting callback spaghetti that can often
+result in asynchronous programs.
+
+WWW: http://search.cpan.org/dist/Promises/
diff --git a/lang/p5-Promises/pkg-plist b/lang/p5-Promises/pkg-plist
new file mode 100644
index 000000000000..a886b8955eda
--- /dev/null
+++ b/lang/p5-Promises/pkg-plist
@@ -0,0 +1,29 @@
+%%SITE_PERL%%/Promises.pm
+%%SITE_PERL%%/Promises/Cookbook/ChainingAndPipelining.pod
+%%SITE_PERL%%/Promises/Cookbook/GentleIntro.pod
+%%SITE_PERL%%/Promises/Cookbook/Recursion.pod
+%%SITE_PERL%%/Promises/Cookbook/ScalaFuturesComparison.pod
+%%SITE_PERL%%/Promises/Cookbook/SynopsisBreakdown.pod
+%%SITE_PERL%%/Promises/Cookbook/TIMTOWTDI.pod
+%%SITE_PERL%%/Promises/Deferred.pm
+%%SITE_PERL%%/Promises/Deferred/AE.pm
+%%SITE_PERL%%/Promises/Deferred/AnyEvent.pm
+%%SITE_PERL%%/Promises/Deferred/EV.pm
+%%SITE_PERL%%/Promises/Deferred/Mojo.pm
+%%SITE_PERL%%/Promises/Promise.pm
+%%PERL5_MAN3%%/Promises.3.gz
+%%PERL5_MAN3%%/Promises::Cookbook::ChainingAndPipelining.3.gz
+%%PERL5_MAN3%%/Promises::Cookbook::GentleIntro.3.gz
+%%PERL5_MAN3%%/Promises::Cookbook::Recursion.3.gz
+%%PERL5_MAN3%%/Promises::Cookbook::ScalaFuturesComparison.3.gz
+%%PERL5_MAN3%%/Promises::Cookbook::SynopsisBreakdown.3.gz
+%%PERL5_MAN3%%/Promises::Cookbook::TIMTOWTDI.3.gz
+%%PERL5_MAN3%%/Promises::Deferred.3.gz
+%%PERL5_MAN3%%/Promises::Deferred::AE.3.gz
+%%PERL5_MAN3%%/Promises::Deferred::AnyEvent.3.gz
+%%PERL5_MAN3%%/Promises::Deferred::EV.3.gz
+%%PERL5_MAN3%%/Promises::Deferred::Mojo.3.gz
+%%PERL5_MAN3%%/Promises::Promise.3.gz
+@dir %%SITE_PERL%%/Promises/Deferred
+@dir %%SITE_PERL%%/Promises/Cookbook
+@dir %%SITE_PERL%%/Promises