summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2017-10-03 17:21:17 +0000
committerMark Felder <feld@FreeBSD.org>2017-10-03 17:21:17 +0000
commita6683fa36625b1610eb1361ee021036e0ee1e0d4 (patch)
tree56db7f5ef633875c49c46a29b46a352fe5c69d60
parentUpgrade to 1.15.0. (diff)
List::Pairwise provides functions to map and grep lists two elements at
a time, setting $a and $b to each pair instead of setting $_ to each element. WWW: https://metacpan.org/pod/List::Pairwise
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-List-Pairwise/Makefile20
-rw-r--r--devel/p5-List-Pairwise/distinfo3
-rw-r--r--devel/p5-List-Pairwise/pkg-descr5
-rw-r--r--devel/p5-List-Pairwise/pkg-plist3
5 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 415c0569ece3..93ccd0423640 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2752,6 +2752,7 @@
SUBDIR += p5-List-Group
SUBDIR += p5-List-Objects-Types
SUBDIR += p5-List-Objects-WithUtils
+ SUBDIR += p5-List-Pairwise
SUBDIR += p5-List-Permutor
SUBDIR += p5-List-PowerSet
SUBDIR += p5-List-Regexp
diff --git a/devel/p5-List-Pairwise/Makefile b/devel/p5-List-Pairwise/Makefile
new file mode 100644
index 000000000000..21fe55ddb9e4
--- /dev/null
+++ b/devel/p5-List-Pairwise/Makefile
@@ -0,0 +1,20 @@
+# Created by: Mark Felder <feld@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= List-Pairwise
+PORTVERSION= 1.03
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= feld@FreeBSD.org
+COMMENT= Map/grep arrays and hashes pairwise
+
+LICENSE= ART10
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-List-Pairwise/distinfo b/devel/p5-List-Pairwise/distinfo
new file mode 100644
index 000000000000..33aae7308a21
--- /dev/null
+++ b/devel/p5-List-Pairwise/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1507050633
+SHA256 (List-Pairwise-1.03.tar.gz) = 96d716f2b2832cf42875e3a4f81752a025be94c3114a382887dc2eb4515a302e
+SIZE (List-Pairwise-1.03.tar.gz) = 26886
diff --git a/devel/p5-List-Pairwise/pkg-descr b/devel/p5-List-Pairwise/pkg-descr
new file mode 100644
index 000000000000..87146f08adbb
--- /dev/null
+++ b/devel/p5-List-Pairwise/pkg-descr
@@ -0,0 +1,5 @@
+List::Pairwise provides functions to map and grep lists two elements at
+a time, setting $a and $b to each pair instead of setting $_ to each
+element.
+
+WWW: https://metacpan.org/pod/List::Pairwise
diff --git a/devel/p5-List-Pairwise/pkg-plist b/devel/p5-List-Pairwise/pkg-plist
new file mode 100644
index 000000000000..a54c11b92830
--- /dev/null
+++ b/devel/p5-List-Pairwise/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_PERL%%/List/Pairwise.pm
+%%SITE_PERL%%/List/Pairwise.pod
+%%PERL5_MAN3%%/List::Pairwise.3.gz