From 7d9bf7d8d68bd6c990b6d44af43b0bd924f2063c Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 25 Dec 2006 07:45:49 +0000 Subject: [PATCH] add Class::CSV 1.02 Class based CSV parser/writer --- textproc/Makefile | 1 + textproc/p5-Class-CSV/Makefile | 26 ++++++++++++++++++++++++++ textproc/p5-Class-CSV/distinfo | 3 +++ textproc/p5-Class-CSV/pkg-descr | 6 ++++++ textproc/p5-Class-CSV/pkg-plist | 5 +++++ 5 files changed, 41 insertions(+) create mode 100644 textproc/p5-Class-CSV/Makefile create mode 100644 textproc/p5-Class-CSV/distinfo create mode 100644 textproc/p5-Class-CSV/pkg-descr create mode 100644 textproc/p5-Class-CSV/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index f3f5e22b57f7..e66a2a9e3b6c 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -335,6 +335,7 @@ SUBDIR += p5-CSS-Squish SUBDIR += p5-CSS-Tiny SUBDIR += p5-Chess-PGN-Parse + SUBDIR += p5-Class-CSV SUBDIR += p5-Data-FormValidator SUBDIR += p5-Data-Report SUBDIR += p5-DelimMatch diff --git a/textproc/p5-Class-CSV/Makefile b/textproc/p5-Class-CSV/Makefile new file mode 100644 index 000000000000..5c623528c53a --- /dev/null +++ b/textproc/p5-Class-CSV/Makefile @@ -0,0 +1,26 @@ +# ex:ts=8 +# Ports collection makefile for: Class::CSV +# Date created: Dec 25, 2006 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= Class-CSV +PORTVERSION= 1.02 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Class based CSV parser/writer + +BUILD_DEPENDS= p5-Text-CSV_XS>=0.23:${PORTSDIR}/textproc/p5-Text-CSV_XS \ + p5-Class-Accessor>=0.18:${PORTSDIR}/devel/p5-Class-Accessor +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Class::CSV.3 + +.include diff --git a/textproc/p5-Class-CSV/distinfo b/textproc/p5-Class-CSV/distinfo new file mode 100644 index 000000000000..87f6db0bb169 --- /dev/null +++ b/textproc/p5-Class-CSV/distinfo @@ -0,0 +1,3 @@ +MD5 (Class-CSV-1.02.tar.gz) = f811bcae2de07df90898d0bc447a86e4 +SHA256 (Class-CSV-1.02.tar.gz) = 863f434ee46d95b8020b1cca4a690f0b5d1b468f3980a5eec7b396ffd327b1c0 +SIZE (Class-CSV-1.02.tar.gz) = 6257 diff --git a/textproc/p5-Class-CSV/pkg-descr b/textproc/p5-Class-CSV/pkg-descr new file mode 100644 index 000000000000..9bd21fe6ed0d --- /dev/null +++ b/textproc/p5-Class-CSV/pkg-descr @@ -0,0 +1,6 @@ +This module can be used to create objects from CSV files, or to create CSV +files from objects. Text::CSV_XS is used for parsing and creating CSV file +lines, so any limitations in Text::CSV_XS will of course be inherant in +this module. + +WWW: http://search.cpan.org/dist/Class-CSV/ diff --git a/textproc/p5-Class-CSV/pkg-plist b/textproc/p5-Class-CSV/pkg-plist new file mode 100644 index 000000000000..e5033d79abc2 --- /dev/null +++ b/textproc/p5-Class-CSV/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Class/CSV.pm +@dirrmtry %%SITE_PERL%%/Class +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/CSV/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/CSV +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class