diff options
author | aaron <aaron@FreeBSD.org> | 2006-02-19 05:55:07 +0800 |
---|---|---|
committer | aaron <aaron@FreeBSD.org> | 2006-02-19 05:55:07 +0800 |
commit | e7e0f887c3a36f4a594073361cbbe2c31a0b6c5d (patch) | |
tree | 6331857100036faac56ce91c4bdec9db209ef5bc /databases | |
parent | 0e7c5f4fda195d4ecf573b0005174e6a03a88190 (diff) | |
download | freebsd-ports-gnome-e7e0f887c3a36f4a594073361cbbe2c31a0b6c5d.tar.gz freebsd-ports-gnome-e7e0f887c3a36f4a594073361cbbe2c31a0b6c5d.tar.zst freebsd-ports-gnome-e7e0f887c3a36f4a594073361cbbe2c31a0b6c5d.zip |
Adding port databases/p5-Iterator-DBI, An iterator for returning DBI query results.
Committed by: aaron
Approved by: tobez (implicit)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-Iterator-DBI/Makefile | 30 | ||||
-rw-r--r-- | databases/p5-Iterator-DBI/distinfo | 3 | ||||
-rw-r--r-- | databases/p5-Iterator-DBI/pkg-descr | 15 | ||||
-rw-r--r-- | databases/p5-Iterator-DBI/pkg-plist | 5 |
5 files changed, 54 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 46b9af9a4e05..bb10960a4807 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -235,6 +235,7 @@ SUBDIR += p5-GDBM SUBDIR += p5-GraphViz-DBI SUBDIR += p5-Ima-DBI + SUBDIR += p5-Iterator-DBI SUBDIR += p5-Jifty-DBI SUBDIR += p5-MLDBM SUBDIR += p5-MLDBM-Sync diff --git a/databases/p5-Iterator-DBI/Makefile b/databases/p5-Iterator-DBI/Makefile new file mode 100644 index 000000000000..5149520cfeff --- /dev/null +++ b/databases/p5-Iterator-DBI/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: Iterator-DBI +# Date created: 18 Feb 2006 +# Whom: Aaron Dalton <aaron@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Iterator-DBI +PORTVERSION= 0.02 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Iterator +PKGNAMEPREFIX= p5- + +MAINTAINER= aaron@FreeBSD.org +COMMENT= An iterator for returning DBI query results + +BUILD_DEPENDS= ${SITE_PERL}/Iterator.pm:${PORTSDIR}/devel/p5-Iterator + +MAN3= Iterator::DBI.3 + +PERL_CONFIGURE= yes + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +IGNORE= requires at least Perl5.8 due to dependencies +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-Iterator-DBI/distinfo b/databases/p5-Iterator-DBI/distinfo new file mode 100644 index 000000000000..6e54d01f093f --- /dev/null +++ b/databases/p5-Iterator-DBI/distinfo @@ -0,0 +1,3 @@ +MD5 (Iterator-DBI-0.02.tar.gz) = 2901bb0b52cb52d48a71b1cf42f8a2aa +SHA256 (Iterator-DBI-0.02.tar.gz) = 1dc59488d3b3117787bff1ae8b81227dbb6d92a0efcb35877912f9289b012f1b +SIZE (Iterator-DBI-0.02.tar.gz) = 7699 diff --git a/databases/p5-Iterator-DBI/pkg-descr b/databases/p5-Iterator-DBI/pkg-descr new file mode 100644 index 000000000000..7f5dec6cb5b0 --- /dev/null +++ b/databases/p5-Iterator-DBI/pkg-descr @@ -0,0 +1,15 @@ +his module contains a function to return an iterator (see the Iterator +module) that returns the rows of a database query, one at a time. + +This is marginally more useful than simply calling prepare and execute, +and then repeatedly calling fetchrow_hashref; since this one function +bundles up the calls to all three of those DBI methods. + +But the real usefulness of this interface is that it can be chained +together with other Iterator functions. The "idb_rows" iterator has the +same interface as any other interface, making it interchangeable with +iterators of any other source (for example, files), and usable with the +iterator manipulation functions in the Iterator::Util module. + +WWW: http://search.cpan.org/dist/Iterator-DBI +Author: Eric J. Roode <roode@cpan.org> diff --git a/databases/p5-Iterator-DBI/pkg-plist b/databases/p5-Iterator-DBI/pkg-plist new file mode 100644 index 000000000000..79750c141529 --- /dev/null +++ b/databases/p5-Iterator-DBI/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Iterator/DBI.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Iterator/DBI/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Iterator/DBI +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Iterator +@dirrmtry %%SITE_PERL%%/Iterator |