aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-Class-DBI-Pager
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-Class-DBI-Pager')
-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
4 files changed, 47 insertions, 0 deletions
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