aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-13 02:42:14 +0800
committerpav <pav@FreeBSD.org>2004-11-13 02:42:14 +0800
commit19e930a978e2ea94efb67a250d89de9929fcfb2b (patch)
treefdad2561811f5fc0210939b4c367789754d656b9
parentae4d7014e4f1a13abf4ac3b69cfc64b658bc8dce (diff)
downloadfreebsd-ports-gnome-19e930a978e2ea94efb67a250d89de9929fcfb2b.tar.gz
freebsd-ports-gnome-19e930a978e2ea94efb67a250d89de9929fcfb2b.tar.zst
freebsd-ports-gnome-19e930a978e2ea94efb67a250d89de9929fcfb2b.zip
Add pear-Pager, a data paging class. It takes an array of data as input and
page it according to various parameters. It also builds links within a specified range, and allows complete customization of the output (it even works with mod_rewrite). PR: ports/73831 Submitted by: Antonio Carlos Venancio Junior <antonio@php.net>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/pear-Pager/Makefile29
-rw-r--r--devel/pear-Pager/distinfo2
-rw-r--r--devel/pear-Pager/pkg-descr7
4 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8c61e140aca2..c32dbe0f329e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1074,6 +1074,7 @@
SUBDIR += pear-PEAR
SUBDIR += pear-PHPUnit
SUBDIR += pear-PHPUnit2
+ SUBDIR += pear-Pager
SUBDIR += pear-VFS
SUBDIR += pear-Validate
SUBDIR += pear-XML_Parser
diff --git a/devel/pear-Pager/Makefile b/devel/pear-Pager/Makefile
new file mode 100644
index 000000000000..351be78c1715
--- /dev/null
+++ b/devel/pear-Pager/Makefile
@@ -0,0 +1,29 @@
+# Ports collection makefile for: pear-Pager
+# Date created: 09 November 2004
+# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= Pager
+PORTVERSION= 2.2.3
+CATEGORIES= devel www pear
+
+MAINTAINER= antonio@php.net
+COMMENT= PEAR Data paging class
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+CATEGORY= Pager
+FILES= Common.php Jumping.php Pager.php Sliding.php
+EXAMPLES= example.php Pager_Wrapper.php
+TESTS= all_tests.php pager_include.php pager_jumping_noData_test.php \
+ pager_jumping_test.php pager_jumping_tests.php pager_noData_test.php \
+ pager_sliding_noData_test.php pager_sliding_notExpanded_test.php \
+ pager_sliding_test.php pager_sliding_tests.php pager_test.php \
+ pager_tests.php simple_include.php README
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/devel/pear-Pager/distinfo b/devel/pear-Pager/distinfo
new file mode 100644
index 000000000000..311c78e70a15
--- /dev/null
+++ b/devel/pear-Pager/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/Pager-2.2.3.tgz) = 7ea719dcd47f62d1b7c80232f61a6e98
+SIZE (PEAR/Pager-2.2.3.tgz) = 18681
diff --git a/devel/pear-Pager/pkg-descr b/devel/pear-Pager/pkg-descr
new file mode 100644
index 000000000000..aec1f1c2bf02
--- /dev/null
+++ b/devel/pear-Pager/pkg-descr
@@ -0,0 +1,7 @@
+PEAR Data paging class.
+
+It takes an array of data as input and page it according to various
+parameters. It also builds links within a specified range, and allows
+complete customization of the output (it even works with mod_rewrite).
+
+WWW: http://pear.php.net/package/Pager/