Date: Sun, 6 Jul 2014 18:50:45 +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: r360975 - head/devel/p5-Data-Rmap Message-ID: <201407061850.s66Iojbe055901@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Jul 6 18:50:44 2014 New Revision: 360975 URL: http://svnweb.freebsd.org/changeset/ports/360975 QAT: https://qat.redports.org/buildarchive/r360975/ Log: - Add LICENSE - Use USE_PERL5=configure - Update PLIST - Bump PORTREVISION for package change - Reformat and shorten pkg-descr - Use single space after WWW: Modified: head/devel/p5-Data-Rmap/Makefile head/devel/p5-Data-Rmap/pkg-descr head/devel/p5-Data-Rmap/pkg-plist Modified: head/devel/p5-Data-Rmap/Makefile ============================================================================== --- head/devel/p5-Data-Rmap/Makefile Sun Jul 6 18:50:39 2014 (r360974) +++ head/devel/p5-Data-Rmap/Makefile Sun Jul 6 18:50:44 2014 (r360975) @@ -3,6 +3,7 @@ PORTNAME= Data-Rmap PORTVERSION= 0.62 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -10,9 +11,12 @@ PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Recursive map, apply a block to a data structure +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception +USE_PERL5= configure USES= perl5 -USE_PERL5= modbuild .include <bsd.port.mk> Modified: head/devel/p5-Data-Rmap/pkg-descr ============================================================================== --- head/devel/p5-Data-Rmap/pkg-descr Sun Jul 6 18:50:39 2014 (r360974) +++ head/devel/p5-Data-Rmap/pkg-descr Sun Jul 6 18:50:44 2014 (r360975) @@ -1,26 +1,10 @@ -Recursively evaluate a BLOCK over a list of data structures (locally -setting $_ to each element) and return the list composed of the -results of such evaluations. $_ can be used to modify the elements. +Recursively evaluate a BLOCK over a list of data structures (locally setting $_ +to each element) and return the list composed of the results of such +evaluations. $_ can be used to modify the elements. -Data::Rmap currently traverses HASH, ARRAY, SCALAR and GLOB reference -types and ignores others. Depending on which rmap_* wrapper is used, -the BLOCK is called for only scalar values, arrays, hashes, -references, all elements or a customizable combination. +Data::Rmap currently traverses HASH, ARRAY, SCALAR and GLOB reference types and +ignores others. Depending on which rmap_* wrapper is used, the BLOCK is called +for only scalar values, arrays, hashes, references, all elements or a +customizable combination. -The list of data structures is traversed pre-order in a depth-first -fashion. That is, the BLOCK is called for the container reference -before is it called for it's elements (although see "recurse" below -for post-order). The values of a hash are traversed in the usual -"values" order which may affect some applications. - -If the "cut" subroutine is called in the BLOCK then the traversal -stops for that branch, say if you "cut" an array then the code is -never called for it's elements (or their sub-elements). To -simultaneously return values and cut, simply pass the return list to -cut: cut('add','to','returned'); - -The first parameter to the BLOCK is an object which maintains the -state of the traversal. Methods available on this object are -described in "State Object" below. - -WWW: http://search.cpan.org/dist/Data-Rmap/ +WWW: http://search.cpan.org/dist/Data-Rmap/ Modified: head/devel/p5-Data-Rmap/pkg-plist ============================================================================== --- head/devel/p5-Data-Rmap/pkg-plist Sun Jul 6 18:50:39 2014 (r360974) +++ head/devel/p5-Data-Rmap/pkg-plist Sun Jul 6 18:50:44 2014 (r360975) @@ -1,3 +1,6 @@ %%SITE_PERL%%/Data/Rmap.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Rmap/.packlist %%PERL5_MAN3%%/Data::Rmap.3.gz +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Rmap +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data @dirrmtry %%SITE_PERL%%/Data
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407061850.s66Iojbe055901>