svn commit: r365204 - in head/devel: . p5-Callback-Frame
Kurt Jaeger
pi at FreeBSD.org
Sun Aug 17 16:56:05 UTC 2014
Author: pi
Date: Sun Aug 17 16:56:04 2014
New Revision: 365204
URL: http://svnweb.freebsd.org/changeset/ports/365204
QAT: https://qat.redports.org/buildarchive/r365204/
Log:
New port: devel/p5-Callback-Frame
When programming with callbacks in perl, you create anonymous
functions with sub { ... }. These functions will preserve their
surrounding lexical environment. Sometimes people call these
anonymous functions that reference variables in their surrounding
lexical scope "closures". Whatever you call them, they are essential
for convenient and efficient asynchronous programming.
For many applications we really like straightforward callback style.
The goal of Callback::Frame is to simplify the management of dynamic
environments while leaving callback style alone.
WWW: http://search.cpan.org/dist/Callback-Frame/
PR: 192264
Submitted by: bill.brinzer at gmail.com
Added:
head/devel/p5-Callback-Frame/
head/devel/p5-Callback-Frame/Makefile (contents, props changed)
head/devel/p5-Callback-Frame/distinfo (contents, props changed)
head/devel/p5-Callback-Frame/pkg-descr (contents, props changed)
head/devel/p5-Callback-Frame/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Aug 17 16:49:45 2014 (r365203)
+++ head/devel/Makefile Sun Aug 17 16:56:04 2014 (r365204)
@@ -1553,6 +1553,7 @@
SUBDIR += p5-Cache-Simple-TimedExpiry
SUBDIR += p5-Cairo-GObject
SUBDIR += p5-Calendar-Simple
+ SUBDIR += p5-Callback-Frame
SUBDIR += p5-Capture-Tiny
SUBDIR += p5-Carp
SUBDIR += p5-Carp-Always
Added: head/devel/p5-Callback-Frame/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Callback-Frame/Makefile Sun Aug 17 16:56:04 2014 (r365204)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= Callback-Frame
+PORTVERSION= 1.100
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= bill.brinzer at gmail.com
+COMMENT= Preserve error handlers and "local" variables across callbacks
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-Guard>=0:${PORTSDIR}/devel/p5-Guard
+BUILD_DEPENDS:= ${RUN_DEPENDS}
+
+NO_ARCH= yes
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
Added: head/devel/p5-Callback-Frame/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Callback-Frame/distinfo Sun Aug 17 16:56:04 2014 (r365204)
@@ -0,0 +1,2 @@
+SHA256 (Callback-Frame-1.100.tar.gz) = d5fd233ecfa944cc9746fd05fea67a3c9780b4c282c727579be69b042353ac76
+SIZE (Callback-Frame-1.100.tar.gz) = 12094
Added: head/devel/p5-Callback-Frame/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Callback-Frame/pkg-descr Sun Aug 17 16:56:04 2014 (r365204)
@@ -0,0 +1,12 @@
+When programming with callbacks in perl, you create anonymous functions with
+sub { ... }. These functions are especially useful because when they are called
+they will preserve their surrounding lexical environment. Sometimes people
+call these anonymous functions that reference variables in their surrounding
+lexical scope "closures". Whatever you call them, they are essential for
+convenient and efficient asynchronous programming.
+
+For many applications we really like straightforward callback style. The goal
+of Callback::Frame is to simplify the management of dynamic environments while
+leaving callback style alone.
+
+WWW: http://search.cpan.org/dist/Callback-Frame/
Added: head/devel/p5-Callback-Frame/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Callback-Frame/pkg-plist Sun Aug 17 16:56:04 2014 (r365204)
@@ -0,0 +1,6 @@
+%%PERL5_MAN3%%/Callback::Frame.3.gz
+%%SITE_PERL%%/Callback/Frame.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Callback/Frame/.packlist
+ at dirrmtry %%SITE_PERL%%/Callback
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Callback/Frame
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Callback
More information about the svn-ports-all
mailing list