diff options
author | Tom Judge <tj@FreeBSD.org> | 2013-07-10 16:13:00 +0000 |
---|---|---|
committer | Tom Judge <tj@FreeBSD.org> | 2013-07-10 16:13:00 +0000 |
commit | 8f85c577332f289f2479f93b852e3b41fef30d16 (patch) | |
tree | 8f96e3fc1d77aa7802f9e27430d4a71fc9787e00 /textproc | |
parent | Remove unnneded part of the description (diff) |
New port: textproc/p5-Text-CSV-Hashify
Perl module for turning CSV files into Hashes.
WWW: http://search.cpan.org/dist/Text-CSV-Hashify/
Notes
Notes:
svn path=/head/; revision=322708
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Text-CSV-Hashify/Makefile | 21 | ||||
-rw-r--r-- | textproc/p5-Text-CSV-Hashify/distinfo | 2 | ||||
-rw-r--r-- | textproc/p5-Text-CSV-Hashify/pkg-descr | 12 | ||||
-rw-r--r-- | textproc/p5-Text-CSV-Hashify/pkg-plist | 7 |
5 files changed, 43 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 5472686c2f73..e4c9f2995293 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -771,6 +771,7 @@ SUBDIR += p5-Text-Brew SUBDIR += p5-Text-CSV SUBDIR += p5-Text-CSV-Encoded + SUBDIR += p5-Text-CSV-Hashify SUBDIR += p5-Text-CSV-Simple SUBDIR += p5-Text-CSV_XS SUBDIR += p5-Text-Capitalize diff --git a/textproc/p5-Text-CSV-Hashify/Makefile b/textproc/p5-Text-CSV-Hashify/Makefile new file mode 100644 index 000000000000..d953bcada91c --- /dev/null +++ b/textproc/p5-Text-CSV-Hashify/Makefile @@ -0,0 +1,21 @@ +# Created by: tj@FreeBSD.org +# $FreeBSD$ + +PORTNAME= Text-CSV-Hashify +PORTVERSION= 0.05 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:JKEENAN +PKGNAMEPREFIX= p5- + +MAINTAINER= tj@FreeBSD.org +COMMENT= Composition and decomposition of comma-separated values into hashes + +BUILD_DEPENDS= p5-Text-CSV>=0:${PORTSDIR}/textproc/p5-Text-CSV +RUN_DEPENDS:= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Text::CSV::Hashify.3 + +.include <bsd.port.mk> diff --git a/textproc/p5-Text-CSV-Hashify/distinfo b/textproc/p5-Text-CSV-Hashify/distinfo new file mode 100644 index 000000000000..1aa68d995521 --- /dev/null +++ b/textproc/p5-Text-CSV-Hashify/distinfo @@ -0,0 +1,2 @@ +SHA256 (Text-CSV-Hashify-0.05.tar.gz) = f4c2ab560207f29e4c336ac17441170c373510512fae4a9f7c8df155874a3d05 +SIZE (Text-CSV-Hashify-0.05.tar.gz) = 17870 diff --git a/textproc/p5-Text-CSV-Hashify/pkg-descr b/textproc/p5-Text-CSV-Hashify/pkg-descr new file mode 100644 index 000000000000..cc470cc0a158 --- /dev/null +++ b/textproc/p5-Text-CSV-Hashify/pkg-descr @@ -0,0 +1,12 @@ +Text::CSV::Hashify is designed for the case where you simply want to turn a CSV +file into a Perl hash. In particular, it is designed for the case where (a) the +CSV file's first record is a list of fields in the ancestral database table and +(b) one field (column) of which functions as a primary key, i.e., each record's +entry in that field is distinct from every other record's entry therein. + +Text::CSV::Hashify turns that kind of CSV file into one big hash of hashes. +Elements of this hash are keyed on the entries in the designated primary key +field and the value for each element is a hash reference of all the data in a +particular database record (including the primary key field and its value). + +WWW: http://search.cpan.org/dist/Text-CSV-Hashify/ diff --git a/textproc/p5-Text-CSV-Hashify/pkg-plist b/textproc/p5-Text-CSV-Hashify/pkg-plist new file mode 100644 index 000000000000..d2561c8d871d --- /dev/null +++ b/textproc/p5-Text-CSV-Hashify/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Text/CSV/Hashify.pm +%%SITE_PERL%%/mach/auto/Text/CSV/Hashify/.packlist +@dirrm %%SITE_PERL%%/mach/auto/Text/CSV/Hashify +@dirrmtry %%SITE_PERL%%/mach/auto/Text/CSV +@dirrmtry %%SITE_PERL%%/mach/auto/Text +@dirrmtry %%SITE_PERL%%/Text/CSV +@dirrmtry %%SITE_PERL%%/Text |