From f90606a808cef36f73a1d20f830fd4083a17d6de Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Fri, 25 Feb 2011 15:10:44 +0000 Subject: [PATCH] This module provides a number of list utility functions, all of which take an initial code block to control their behaviour. They are variations on similar core perl or List::Util functions of similar names, but which use the block to control their behaviour. For example, the core Perl function sort takes a list of values and returns them, sorted into order by their string value. The sort_by function sorts them according to the string value returned by the extra function, when given each value. WWW: http://search.cpan.org/dist/List-UtilsBy/ --- devel/Makefile | 1 + devel/p5-List-UtilsBy/Makefile | 21 +++++++++++++++++++++ devel/p5-List-UtilsBy/distinfo | 2 ++ devel/p5-List-UtilsBy/pkg-descr | 10 ++++++++++ devel/p5-List-UtilsBy/pkg-plist | 5 +++++ 5 files changed, 39 insertions(+) create mode 100644 devel/p5-List-UtilsBy/Makefile create mode 100644 devel/p5-List-UtilsBy/distinfo create mode 100644 devel/p5-List-UtilsBy/pkg-descr create mode 100644 devel/p5-List-UtilsBy/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 60561657c68b..f7a943b80022 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1838,6 +1838,7 @@ SUBDIR += p5-List-PowerSet SUBDIR += p5-List-Rotation-Cycle SUBDIR += p5-List-Uniq + SUBDIR += p5-List-UtilsBy SUBDIR += p5-Locale-Maketext SUBDIR += p5-Locale-Maketext-Fuzzy SUBDIR += p5-Locale-Maketext-Gettext diff --git a/devel/p5-List-UtilsBy/Makefile b/devel/p5-List-UtilsBy/Makefile new file mode 100644 index 000000000000..055bcb9bb121 --- /dev/null +++ b/devel/p5-List-UtilsBy/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: List::UtilsBy +# Date created: 25 Feb 2011 +# Whom: Jun Kuriyama +# +# $FreeBSD$ +# + +PORTNAME= List-UtilsBy +PORTVERSION= 0.06 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= Perl extension for higher-order list utility functions + +PERL_CONFIGURE= yes + +MAN3= List::UtilsBy.3 + +.include diff --git a/devel/p5-List-UtilsBy/distinfo b/devel/p5-List-UtilsBy/distinfo new file mode 100644 index 000000000000..3e5954fa9b9d --- /dev/null +++ b/devel/p5-List-UtilsBy/distinfo @@ -0,0 +1,2 @@ +SHA256 (List-UtilsBy-0.06.tar.gz) = c7a24e898cc8559140706d6756113959026ca88972d06906976869bfef16e3c7 +SIZE (List-UtilsBy-0.06.tar.gz) = 18478 diff --git a/devel/p5-List-UtilsBy/pkg-descr b/devel/p5-List-UtilsBy/pkg-descr new file mode 100644 index 000000000000..2788949a2907 --- /dev/null +++ b/devel/p5-List-UtilsBy/pkg-descr @@ -0,0 +1,10 @@ +This module provides a number of list utility functions, all of which +take an initial code block to control their behaviour. They are +variations on similar core perl or List::Util functions of similar +names, but which use the block to control their behaviour. For +example, the core Perl function sort takes a list of values and +returns them, sorted into order by their string value. The sort_by +function sorts them according to the string value returned by the +extra function, when given each value. + +WWW: http://search.cpan.org/dist/List-UtilsBy/ diff --git a/devel/p5-List-UtilsBy/pkg-plist b/devel/p5-List-UtilsBy/pkg-plist new file mode 100644 index 000000000000..5eee2be5f130 --- /dev/null +++ b/devel/p5-List-UtilsBy/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/List/UtilsBy/.packlist +%%SITE_PERL%%/List/UtilsBy.pm +@dirrmtry %%SITE_PERL%%/List +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/List/UtilsBy +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/List