From owner-svn-ports-head@FreeBSD.ORG Sun Aug 17 16:56:05 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89B26602; Sun, 17 Aug 2014 16:56:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7566D2D29; Sun, 17 Aug 2014 16:56:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7HGu5lb007885; Sun, 17 Aug 2014 16:56:05 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7HGu4j6007875; Sun, 17 Aug 2014 16:56:04 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201408171656.s7HGu4j6007875@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 17 Aug 2014 16:56:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365204 - in head/devel: . p5-Callback-Frame X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2014 16:56:05 -0000 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@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@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 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 +@dirrmtry %%SITE_PERL%%/Callback +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Callback/Frame +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Callback