aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-02-19 15:01:19 +0800
committerrafan <rafan@FreeBSD.org>2007-02-19 15:01:19 +0800
commit821e011b1192d33ec23c4097722425cb02334c8c (patch)
tree4c292974b3c5707d72d12a4d415e8a212f2e9ce7 /devel
parentef6e11e0735ecffca7e7c276cfd1e2ccfa01a9d1 (diff)
downloadfreebsd-ports-gnome-821e011b1192d33ec23c4097722425cb02334c8c.tar.gz
freebsd-ports-gnome-821e011b1192d33ec23c4097722425cb02334c8c.tar.zst
freebsd-ports-gnome-821e011b1192d33ec23c4097722425cb02334c8c.zip
Add p5-List-Rotation-Cycle 1.004, cycle through a list of values.
PR: ports/109293 Submitted by: chinsan
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-List-Rotation-Cycle/Makefile22
-rw-r--r--devel/p5-List-Rotation-Cycle/distinfo3
-rw-r--r--devel/p5-List-Rotation-Cycle/pkg-descr9
-rw-r--r--devel/p5-List-Rotation-Cycle/pkg-plist7
5 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b559be353a25..3c6978d9f5cd 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1222,6 +1222,7 @@
SUBDIR += p5-List-Group
SUBDIR += p5-List-Permutor
SUBDIR += p5-List-PowerSet
+ SUBDIR += p5-List-Rotation-Cycle
SUBDIR += p5-Locale-Maketext
SUBDIR += p5-Locale-Maketext-Fuzzy
SUBDIR += p5-Locale-Maketext-Gettext
diff --git a/devel/p5-List-Rotation-Cycle/Makefile b/devel/p5-List-Rotation-Cycle/Makefile
new file mode 100644
index 000000000000..58359d33bf60
--- /dev/null
+++ b/devel/p5-List-Rotation-Cycle/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-List-Rotation-Cycle
+# Date created: 2007/02/14
+# Whom: chinsan
+#
+# $FreeBSD$
+#
+
+PORTNAME= List-Rotation-Cycle
+PORTVERSION= 1.004
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= List
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= chinsan@FreeBSD.org
+COMMENT= Cycle through a list of values
+
+MAN3= List::Rotation::Cycle.3
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-List-Rotation-Cycle/distinfo b/devel/p5-List-Rotation-Cycle/distinfo
new file mode 100644
index 000000000000..7400ac854e95
--- /dev/null
+++ b/devel/p5-List-Rotation-Cycle/distinfo
@@ -0,0 +1,3 @@
+MD5 (List-Rotation-Cycle-1.004.tar.gz) = fc8cf4f49d6bff0ea819690de72ced11
+SHA256 (List-Rotation-Cycle-1.004.tar.gz) = 4038ca59341998d20ee9fd2388e8d829e1a89aa9df28eac58fd32564a6083f7a
+SIZE (List-Rotation-Cycle-1.004.tar.gz) = 2936
diff --git a/devel/p5-List-Rotation-Cycle/pkg-descr b/devel/p5-List-Rotation-Cycle/pkg-descr
new file mode 100644
index 000000000000..c12709f1ec58
--- /dev/null
+++ b/devel/p5-List-Rotation-Cycle/pkg-descr
@@ -0,0 +1,9 @@
+Use List::Rotation::Cycle to loop through a list of values. Once you get to
+the end of the list, you go back to the beginning.
+
+List::Rotation::Cycle is implemented as a Singleton Pattern. You always just
+get 1 (the very same) Cycle object even if you use the new method several
+times. This is done by using Memoize on the new method. It returns the same
+object for every use of new that comes with the same List of parameters.
+
+WWW: http://search.cpan.org/dist/List-Rotation-Cycle/
diff --git a/devel/p5-List-Rotation-Cycle/pkg-plist b/devel/p5-List-Rotation-Cycle/pkg-plist
new file mode 100644
index 000000000000..5d841b98d9a4
--- /dev/null
+++ b/devel/p5-List-Rotation-Cycle/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/List/Rotation/Cycle/.packlist
+%%SITE_PERL%%/List/Rotation/Cycle.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/List/Rotation/Cycle
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/List/Rotation
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/List
+@dirrmtry %%SITE_PERL%%/List/Rotation
+@dirrmtry %%SITE_PERL%%/List