# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Data-Page # p5-Data-Page/Makefile # p5-Data-Page/distinfo # p5-Data-Page/pkg-descr # p5-Data-Page/pkg-plist # echo c - p5-Data-Page mkdir -p p5-Data-Page > /dev/null 2>&1 echo x - p5-Data-Page/Makefile sed 's/^X//' >p5-Data-Page/Makefile << 'END-of-p5-Data-Page/Makefile' X# New ports collection makefile for: p5-Data-Page X# Date created: 21 july 2003 X# Whom: Mathieu Arnold X# X# $FreeBSD$ X# X XPORTNAME= Data-Page XPORTVERSION= 0.18 XCATEGORIES= databases perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Data XPKGNAMEPREFIX= p5- X XMAINTAINER= m@absolight.net XCOMMENT= Pager utility for Class::DBI X XBUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple X XPERL_CONFIGURE= yes X XMAN3= Data::Page.3 X X.include END-of-p5-Data-Page/Makefile echo x - p5-Data-Page/distinfo sed 's/^X//' >p5-Data-Page/distinfo << 'END-of-p5-Data-Page/distinfo' XMD5 (Data-Page-0.18.tar.gz) = 5c96f57fdd52413dd2da4844c60ef756 END-of-p5-Data-Page/distinfo echo x - p5-Data-Page/pkg-descr sed 's/^X//' >p5-Data-Page/pkg-descr << 'END-of-p5-Data-Page/pkg-descr' XWhen searching through large amounts of data, it is often the case that a Xresult set is returned that is larger than we want to display on one page. This Xresults in wanting to page through various pages of data. The maths behind this Xis unfortunately fiddly, hence this module. X XThe main concept is that you pass in the number of total entries, the number of Xentries per page, and the current page number. You can then call methods to Xfind out how many pages of information there are, and what number the first and Xlast entries on the current page really are. X XWWW: http://search.cpan.org/dist/Data-Page/ END-of-p5-Data-Page/pkg-descr echo x - p5-Data-Page/pkg-plist sed 's/^X//' >p5-Data-Page/pkg-plist << 'END-of-p5-Data-Page/pkg-plist' X%%SITE_PERL%%/Data/Page.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data-Page/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data-Page X@unexec rmdir %D/%%SITE_PERL%%/Data 2>/dev/null || true END-of-p5-Data-Page/pkg-plist exit