From owner-svn-ports-all@FreeBSD.ORG Sun Jul 6 18:50:45 2014 Return-Path: Delivered-To: svn-ports-all@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 CF780F64; Sun, 6 Jul 2014 18:50:45 +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 BC9062A36; Sun, 6 Jul 2014 18:50:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s66IojfZ055904; Sun, 6 Jul 2014 18:50:45 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s66Iojbe055901; Sun, 6 Jul 2014 18:50:45 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201407061850.s66Iojbe055901@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sun, 6 Jul 2014 18:50:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360975 - head/devel/p5-Data-Rmap X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2014 18:50:46 -0000 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 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