ports/54720: new port databases/p5-Data-Page
Mathieu Arnold
m at absolight.net
Mon Jul 21 17:20:15 UTC 2003
>Number: 54720
>Category: ports
>Synopsis: new port databases/p5-Data-Page
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 21 10:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Mathieu Arnold
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 10 13:45:07 CEST 2003 root at aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386
>Description:
New port databases/p5-Data-Page
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.
>How-To-Repeat:
>Fix:
--- p5-Data-Page-0.18.shar begins here ---
# 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 <m at absolight.net>
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 at 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 <bsd.port.mk>
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 at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data-Page
X at unexec rmdir %D/%%SITE_PERL%%/Data 2>/dev/null || true
END-of-p5-Data-Page/pkg-plist
exit
--- p5-Data-Page-0.18.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list