summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-Class-DBI-Plugin-RetrieveAll/Makefile36
-rw-r--r--databases/p5-Class-DBI-Plugin-RetrieveAll/distinfo2
-rw-r--r--databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-descr4
-rw-r--r--databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-plist9
5 files changed, 52 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index a89fa1df8013..b9a5be717d2e 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -118,6 +118,7 @@
SUBDIR += p5-Class-DBI-Oracle
SUBDIR += p5-Class-DBI-Pager
SUBDIR += p5-Class-DBI-Pg
+ SUBDIR += p5-Class-DBI-Plugin-RetrieveAll
SUBDIR += p5-Class-DBI-Replication
SUBDIR += p5-Class-DBI-SAK
SUBDIR += p5-Class-DBI-SQLite
diff --git a/databases/p5-Class-DBI-Plugin-RetrieveAll/Makefile b/databases/p5-Class-DBI-Plugin-RetrieveAll/Makefile
new file mode 100644
index 000000000000..025e9aa16417
--- /dev/null
+++ b/databases/p5-Class-DBI-Plugin-RetrieveAll/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-Class-DBI-Plugin-RetrieveAll
+# Date created: Apr 2 2004
+# Whom: Lars Thegler <lars@thegler.dk>
+#
+# $FreeBSD$
+
+PORTNAME= Class-DBI-Plugin-RetrieveAll
+PORTVERSION= 1
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lars@thegler.dk
+COMMENT= More complex retrieve_all() for Class::DBI
+
+BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::DBI::Plugin::RetrieveAll.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
+ -e '$$_="" if /use warnings/;' \
+ ${WRKSRC}/lib/Class/DBI/Plugin/RetrieveAll.pm
+
+post-configure:
+ ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/p5-Class-DBI-Plugin-RetrieveAll/distinfo b/databases/p5-Class-DBI-Plugin-RetrieveAll/distinfo
new file mode 100644
index 000000000000..346f4f39df2c
--- /dev/null
+++ b/databases/p5-Class-DBI-Plugin-RetrieveAll/distinfo
@@ -0,0 +1,2 @@
+MD5 (Class-DBI-Plugin-RetrieveAll-1.tar.gz) = 90683c19c505813a4640f549d33bd5e4
+SIZE (Class-DBI-Plugin-RetrieveAll-1.tar.gz) = 7984
diff --git a/databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-descr b/databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-descr
new file mode 100644
index 000000000000..d293c9e9960a
--- /dev/null
+++ b/databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-descr
@@ -0,0 +1,4 @@
+This is a simple plugin to a Class::DBI subclass which provides a
+'retrieve_all_sorted_by' method.
+
+WWW: http://search.cpan.org/dist/Class-DBI-Plugin-RetrieveAll/
diff --git a/databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-plist b/databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-plist
new file mode 100644
index 000000000000..7737f040bfd7
--- /dev/null
+++ b/databases/p5-Class-DBI-Plugin-RetrieveAll/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/Class/DBI/Plugin/RetrieveAll.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin/RetrieveAll/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin/RetrieveAll
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Plugin 2>/dev/null || true
+@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/Plugin 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