Date: Sun, 7 May 2017 21:26:12 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440368 - in head/devel: . p5-Syntax-Keyword-Gather Message-ID: <201705072126.v47LQCA7050931@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun May 7 21:26:12 2017 New Revision: 440368 URL: https://svnweb.freebsd.org/changeset/ports/440368 Log: Add p5-Syntax-Keyword-Gather 1.003001 Perl 6 provides a new control structure -- gather -- that allows lists to be constructed procedurally, without the need for a temporary variable. Within the block/closure controlled by a gather any call to take pushes that call's argument list to an implicitly created array. take returns the number of elements it took. Syntax::Keyword::Gather implements that control structure. WWW: http://search.cpan.org/dist/Syntax-Keyword-Gather/ Added: head/devel/p5-Syntax-Keyword-Gather/ head/devel/p5-Syntax-Keyword-Gather/Makefile (contents, props changed) head/devel/p5-Syntax-Keyword-Gather/distinfo (contents, props changed) head/devel/p5-Syntax-Keyword-Gather/pkg-descr (contents, props changed) head/devel/p5-Syntax-Keyword-Gather/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun May 7 21:23:29 2017 (r440367) +++ head/devel/Makefile Sun May 7 21:26:12 2017 (r440368) @@ -3253,6 +3253,7 @@ SUBDIR += p5-Sub-WrapPackages SUBDIR += p5-Symbol-Global-Name SUBDIR += p5-Symbol-Util + SUBDIR += p5-Syntax-Keyword-Gather SUBDIR += p5-Syntax-Keyword-Junction SUBDIR += p5-Sys-Cpu SUBDIR += p5-Sys-Info Added: head/devel/p5-Syntax-Keyword-Gather/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Syntax-Keyword-Gather/Makefile Sun May 7 21:26:12 2017 (r440368) @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Syntax-Keyword-Gather +PORTVERSION= 1.003001 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Implements the Perl 6 'gather/take' control structure in Perl 5 + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-Sub-Exporter-Progressive>=0:devel/p5-Sub-Exporter-Progressive +RUN_DEPENDS:= ${BUILD_DEPENDS} + +NO_ARCH= yes +USE_PERL5= configure +USES= perl5 + +.include <bsd.port.mk> Added: head/devel/p5-Syntax-Keyword-Gather/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Syntax-Keyword-Gather/distinfo Sun May 7 21:26:12 2017 (r440368) @@ -0,0 +1,3 @@ +TIMESTAMP = 1494073824 +SHA256 (Syntax-Keyword-Gather-1.003001.tar.gz) = ba97d1a04bf8a0581256534c288129e2a79768d65f2dd4e70e3a35f07cc9ab77 +SIZE (Syntax-Keyword-Gather-1.003001.tar.gz) = 14169 Added: head/devel/p5-Syntax-Keyword-Gather/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Syntax-Keyword-Gather/pkg-descr Sun May 7 21:26:12 2017 (r440368) @@ -0,0 +1,7 @@ +Perl 6 provides a new control structure -- gather -- that allows lists to be +constructed procedurally, without the need for a temporary variable. Within the +block/closure controlled by a gather any call to take pushes that call's +argument list to an implicitly created array. take returns the number of +elements it took. Syntax::Keyword::Gather implements that control structure. + +WWW: http://search.cpan.org/dist/Syntax-Keyword-Gather/ Added: head/devel/p5-Syntax-Keyword-Gather/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Syntax-Keyword-Gather/pkg-plist Sun May 7 21:26:12 2017 (r440368) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Syntax/Keyword/Gather.pm +%%PERL5_MAN3%%/Syntax::Keyword::Gather.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705072126.v47LQCA7050931>