aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2006-11-07 06:54:56 +0800
committerkuriyama <kuriyama@FreeBSD.org>2006-11-07 06:54:56 +0800
commit3d73c056342cca673a93df079a08350966ce0640 (patch)
tree8b97929876ae78c64130e42837597491188bf3fa /databases
parente16af1f846cbb3fd96974ec868641e2cf474a4e9 (diff)
downloadfreebsd-ports-gnome-3d73c056342cca673a93df079a08350966ce0640.tar.gz
freebsd-ports-gnome-3d73c056342cca673a93df079a08350966ce0640.tar.zst
freebsd-ports-gnome-3d73c056342cca673a93df079a08350966ce0640.zip
Add p5-Class-DBI-Plugin-Pager 0.561, perl extension to paged queries for
CDBI.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-Class-DBI-Plugin-Pager/Makefile32
-rw-r--r--databases/p5-Class-DBI-Plugin-Pager/distinfo3
-rw-r--r--databases/p5-Class-DBI-Plugin-Pager/pkg-descr7
-rw-r--r--databases/p5-Class-DBI-Plugin-Pager/pkg-plist8
5 files changed, 51 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 68cd8ae4627f..48329e2eb23c 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -190,6 +190,7 @@
SUBDIR += p5-Class-DBI-Plugin
SUBDIR += p5-Class-DBI-Plugin-AbstractCount
SUBDIR += p5-Class-DBI-Plugin-Iterator
+ SUBDIR += p5-Class-DBI-Plugin-Pager
SUBDIR += p5-Class-DBI-Plugin-RetrieveAll
SUBDIR += p5-Class-DBI-Plugin-Senna
SUBDIR += p5-Class-DBI-Plugin-Type
diff --git a/databases/p5-Class-DBI-Plugin-Pager/Makefile b/databases/p5-Class-DBI-Plugin-Pager/Makefile
new file mode 100644
index 000000000000..c6b66ac66829
--- /dev/null
+++ b/databases/p5-Class-DBI-Plugin-Pager/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: Class-DBI-Plugin-Pager
+# Date created: 25 Oct 2005
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-DBI-Plugin-Pager
+PORTVERSION= 0.561
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Perl extension to paged queries for CDBI
+
+BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
+ ${SITE_PERL}/SQL/Abstract.pm:${PORTSDIR}/databases/p5-SQL-Abstract \
+ ${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-require \
+ ${SITE_PERL}/Data/Page.pm:${PORTSDIR}/databases/p5-Data-Page
+
+PERL_CONFIGURE= yes
+MAN3= Class::DBI::Plugin::Pager.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= perl 5.6 or newer required by Class::DBI. Install lang/perl5.8 or lang/perl5 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/p5-Class-DBI-Plugin-Pager/distinfo b/databases/p5-Class-DBI-Plugin-Pager/distinfo
new file mode 100644
index 000000000000..58a50ac75fed
--- /dev/null
+++ b/databases/p5-Class-DBI-Plugin-Pager/distinfo
@@ -0,0 +1,3 @@
+MD5 (Class-DBI-Plugin-Pager-0.561.tar.gz) = 74801de56312b880b732485d9655b447
+SHA256 (Class-DBI-Plugin-Pager-0.561.tar.gz) = d93c5169bacae3dd4c64a77bd2e9c97c8438a4df79329f3e24507e5afb064227
+SIZE (Class-DBI-Plugin-Pager-0.561.tar.gz) = 10112
diff --git a/databases/p5-Class-DBI-Plugin-Pager/pkg-descr b/databases/p5-Class-DBI-Plugin-Pager/pkg-descr
new file mode 100644
index 000000000000..cf677bc6c0f3
--- /dev/null
+++ b/databases/p5-Class-DBI-Plugin-Pager/pkg-descr
@@ -0,0 +1,7 @@
+Perl extension to paged queries for CDBI.
+
+Adds a pager method to your class that can query using SQL::Abstract
+where clauses, and limit the number of rows returned to a specific
+subset.
+
+WWW: http://search.cpan.org/dist/Class-DBI-Plugin-Pager/
diff --git a/databases/p5-Class-DBI-Plugin-Pager/pkg-plist b/databases/p5-Class-DBI-Plugin-Pager/pkg-plist
new file mode 100644
index 000000000000..faa6e0b2f53f
--- /dev/null
+++ b/databases/p5-Class-DBI-Plugin-Pager/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Class/DBI/Plugin/Pager.pm
+%%SITE_PERL%%/Class/DBI/Plugin/Pager/LimitOffset.pm
+%%SITE_PERL%%/Class/DBI/Plugin/Pager/LimitXY.pm
+%%SITE_PERL%%/Class/DBI/Plugin/Pager/LimitYX.pm
+%%SITE_PERL%%/Class/DBI/Plugin/Pager/RowsTo.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin/Pager/.packlist
+@dirrm %%SITE_PERL%%/Class/DBI/Plugin/Pager
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin/Pager