aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-07-22 22:23:35 +0800
committerkrion <krion@FreeBSD.org>2003-07-22 22:23:35 +0800
commitdd7473346bd9ed84c6b43b4e00bf854f042255c9 (patch)
tree3ce5b64034e9a72011256311d181ac9ea2c1707e /databases
parentf0da61781b32bbe569e2e4099532896eb8a13faf (diff)
downloadfreebsd-ports-gnome-dd7473346bd9ed84c6b43b4e00bf854f042255c9.tar.gz
freebsd-ports-gnome-dd7473346bd9ed84c6b43b4e00bf854f042255c9.tar.zst
freebsd-ports-gnome-dd7473346bd9ed84c6b43b4e00bf854f042255c9.zip
New port databases/p5-Class-DBI-Pager
Class::DBI::Pager is a plugin for Class::DBI, which glues Data::Page with Class::DBI. PR: 54723 Submitted by: Mathieu Arnold <m@absolight.net> Approved by: fjoe (mentor)
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-Class-DBI-Pager/Makefile28
-rw-r--r--databases/p5-Class-DBI-Pager/distinfo1
-rw-r--r--databases/p5-Class-DBI-Pager/pkg-descr11
-rw-r--r--databases/p5-Class-DBI-Pager/pkg-plist7
5 files changed, 48 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 56308899a5a0..da00e6650d4c 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -82,6 +82,7 @@
SUBDIR += p5-CDB_File-Generator
SUBDIR += p5-Class-DBI
SUBDIR += p5-Class-DBI-AbstractSearch
+ SUBDIR += p5-Class-DBI-Pager
SUBDIR += p5-Data-Page
SUBDIR += p5-DBD-CSV
SUBDIR += p5-DBD-Excel
diff --git a/databases/p5-Class-DBI-Pager/Makefile b/databases/p5-Class-DBI-Pager/Makefile
new file mode 100644
index 000000000000..1444375167b0
--- /dev/null
+++ b/databases/p5-Class-DBI-Pager/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Class-DBI-Pager
+# Date created: 21 july 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-DBI-Pager
+PORTVERSION= 0.04
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Pager utility for Class::DBI
+
+RUN_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
+ ${SITE_PERL}/Exporter/Lite.pm:${PORTSDIR}/devel/p5-Exporter-Lite \
+ ${SITE_PERL}/Data/Page.pm:${PORTSDIR}/databases/p5-Data-Page
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::DBI::Pager.3
+
+.include <bsd.port.mk>
diff --git a/databases/p5-Class-DBI-Pager/distinfo b/databases/p5-Class-DBI-Pager/distinfo
new file mode 100644
index 000000000000..9a4b073d8e06
--- /dev/null
+++ b/databases/p5-Class-DBI-Pager/distinfo
@@ -0,0 +1 @@
+MD5 (Class-DBI-Pager-0.04.tar.gz) = 4f1f7a572782694fb12382d2599e2140
diff --git a/databases/p5-Class-DBI-Pager/pkg-descr b/databases/p5-Class-DBI-Pager/pkg-descr
new file mode 100644
index 000000000000..2e80e63e9c2e
--- /dev/null
+++ b/databases/p5-Class-DBI-Pager/pkg-descr
@@ -0,0 +1,11 @@
+Class::DBI::Pager is a plugin for Class::DBI, which glues Data::Page with
+Class::DBI. This module reduces your work a lot, for example when you have to
+do something like:
+
+* retrieve objects from a database
+* display objects with 20 items per page
+
+In addition, your work will be reduced more, when you use Template-Toolkit as
+your templating engine
+
+WWW: http://search.cpan.org/dist/Class-DBI-Pager/
diff --git a/databases/p5-Class-DBI-Pager/pkg-plist b/databases/p5-Class-DBI-Pager/pkg-plist
new file mode 100644
index 000000000000..7a591b193f87
--- /dev/null
+++ b/databases/p5-Class-DBI-Pager/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Class/DBI/Pager.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Pager/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Pager
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class/DBI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true