summaryrefslogtreecommitdiff
path: root/devel/p5-Data-Page
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-07-14 09:24:06 +0000
committerabs <abs@pkgsrc.org>2008-07-14 09:24:06 +0000
commit2e289cd37bcb3a59c1e01eb8662756655a66c4d8 (patch)
tree472e2a5b0c9afcac1e8a148ac47fd3e72f41bd59 /devel/p5-Data-Page
parente3f2850b0771dc62ad69188ff4b2d1f98b2b55b2 (diff)
downloadpkgsrc-2e289cd37bcb3a59c1e01eb8662756655a66c4d8.tar.gz
Added devel/p5-Data-Page version 2.00
When searching through large amounts of data, it is often the case that a result set is returned that is larger than we want to display on one page. This results in wanting to page through various pages of data. The maths behind this is unfortunately fiddly, hence this module. The main concept is that you pass in the number of total entries, the number of entries per page, and the current page number. You can then call methods to find out how many pages of information there are, and what number the first and last entries on the current page really are.
Diffstat (limited to 'devel/p5-Data-Page')
-rw-r--r--devel/p5-Data-Page/DESCR9
-rw-r--r--devel/p5-Data-Page/Makefile22
-rw-r--r--devel/p5-Data-Page/distinfo5
3 files changed, 36 insertions, 0 deletions
diff --git a/devel/p5-Data-Page/DESCR b/devel/p5-Data-Page/DESCR
new file mode 100644
index 00000000000..4d18ae260e0
--- /dev/null
+++ b/devel/p5-Data-Page/DESCR
@@ -0,0 +1,9 @@
+When searching through large amounts of data, it is often the case that a
+result set is returned that is larger than we want to display on one page. This
+results in wanting to page through various pages of data. The maths behind this
+is unfortunately fiddly, hence this module.
+
+The main concept is that you pass in the number of total entries, the number of
+entries per page, and the current page number. You can then call methods to
+find out how many pages of information there are, and what number the first and
+last entries on the current page really are.
diff --git a/devel/p5-Data-Page/Makefile b/devel/p5-Data-Page/Makefile
new file mode 100644
index 00000000000..cb26ba7f828
--- /dev/null
+++ b/devel/p5-Data-Page/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/14 09:24:06 abs Exp $
+
+DISTNAME= Data-Page-2.00
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Data/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Data-Page/
+COMMENT= Pager utility for Class::DBI
+
+DEPENDS+= p5-Class-Accessor-Chained>=0:../../devel/p5-Class-Accessor-Chained
+BUILD_DEPENDS+= p5-Test-Exception>=0:../../devel/p5-Test-Exception
+
+PERL5_MODULE_TYPE= Module::Build
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Data/Page/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Data-Page/distinfo b/devel/p5-Data-Page/distinfo
new file mode 100644
index 00000000000..f23bb136bc5
--- /dev/null
+++ b/devel/p5-Data-Page/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/14 09:24:06 abs Exp $
+
+SHA1 (Data-Page-2.00.tar.gz) = 729879502eedf01a4d0e92715ea17f74e591b213
+RMD160 (Data-Page-2.00.tar.gz) = 143814733b8efea6c682ce03b0efd28af5034dc3
+Size (Data-Page-2.00.tar.gz) = 6448 bytes