[Midnightbsd-cvs] mports: databases/p5-Data-Page: Added Data::Page.

ctriv at midnightbsd.org ctriv at midnightbsd.org
Sat Sep 1 12:32:53 EDT 2007


Log Message:
-----------
Added Data::Page.

Added Files:
-----------
    mports/databases/p5-Data-Page:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
--- /dev/null
+++ databases/p5-Data-Page/pkg-descr
@@ -0,0 +1,11 @@
+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. 
+
+WWW: http://search.cpan.org/dist/Data-Page/
--- /dev/null
+++ databases/p5-Data-Page/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Data/Page.pm
+ at dirrmtry %%SITE_PERL%%/Data
--- /dev/null
+++ databases/p5-Data-Page/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for:	p5-Data-Page
+# Date created:	   21 july 2003
+# Whom:		   Mathieu Arnold <m at absolight.net>
+#
+# $FreeBSD: ports/databases/p5-Data-Page/Makefile,v 1.9 2007/08/31 13:37:05 mat Exp $
+# $MidnightBSD: mports/databases/p5-Data-Page/Makefile,v 1.1 2007/09/01 16:32:53 ctriv Exp $
+#
+
+PORTNAME=	Data-Page
+PORTVERSION=	2.00
+CATEGORIES=	databases perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	ctriv at MidnightBSD.org
+COMMENT=	Module for paging thru result sets
+LICENSE=	perl
+
+BUILD_DEPENDS=	${SITE_PERL}/Class/Accessor/Chained.pm:${PORTSDIR}/devel/p5-Class-Accessor-Chained
+RUN_DEPENDS=	${BUILD_DEPENDS}
+
+PERL_MODBUILD=	yes
+
+MAN3=		Data::Page.3
+
+.include <bsd.port.mk>
--- /dev/null
+++ databases/p5-Data-Page/distinfo
@@ -0,0 +1,3 @@
+MD5 (Data-Page-2.00.tar.gz) = 7af91f13754fb256742b8d9d627bbd16
+SHA256 (Data-Page-2.00.tar.gz) = aec25125b24a6a1a5f18b48d511c7502a2087f74292b9521f2e4a6d99220e843
+SIZE (Data-Page-2.00.tar.gz) = 6448


More information about the Midnightbsd-cvs mailing list