aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-07-06 18:50:44 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-07-06 18:50:44 +0000
commitff3e7424e43f85c547f6635e5a7d2f5b42815d0d (patch)
tree10c558318e8522c6500f91eed6fbed1ec3f35bdb /devel
parentf9d30626843900ad455c663217c3d603bbed308f (diff)
downloadports-ff3e7424e43f85c547f6635e5a7d2f5b42815d0d.tar.gz
ports-ff3e7424e43f85c547f6635e5a7d2f5b42815d0d.zip
- Add LICENSE
- Use USE_PERL5=configure - Update PLIST - Bump PORTREVISION for package change - Reformat and shorten pkg-descr - Use single space after WWW:
Notes
Notes: svn path=/head/; revision=360975
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Data-Rmap/Makefile6
-rw-r--r--devel/p5-Data-Rmap/pkg-descr32
-rw-r--r--devel/p5-Data-Rmap/pkg-plist3
3 files changed, 16 insertions, 25 deletions
diff --git a/devel/p5-Data-Rmap/Makefile b/devel/p5-Data-Rmap/Makefile
index a016d0801b2d..f886e88d373f 100644
--- a/devel/p5-Data-Rmap/Makefile
+++ b/devel/p5-Data-Rmap/Makefile
@@ -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>
diff --git a/devel/p5-Data-Rmap/pkg-descr b/devel/p5-Data-Rmap/pkg-descr
index 68ffaba25900..e3126f7be930 100644
--- a/devel/p5-Data-Rmap/pkg-descr
+++ b/devel/p5-Data-Rmap/pkg-descr
@@ -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/
diff --git a/devel/p5-Data-Rmap/pkg-plist b/devel/p5-Data-Rmap/pkg-plist
index 73f7372288f7..a24573a7b79f 100644
--- a/devel/p5-Data-Rmap/pkg-plist
+++ b/devel/p5-Data-Rmap/pkg-plist
@@ -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