summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-Class-DBI-LazyInflate/Makefile26
-rw-r--r--databases/p5-Class-DBI-LazyInflate/distinfo3
-rw-r--r--databases/p5-Class-DBI-LazyInflate/pkg-descr7
-rw-r--r--databases/p5-Class-DBI-LazyInflate/pkg-plist7
5 files changed, 44 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 0c014efab04a..5d789e7c0306 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -159,6 +159,7 @@
SUBDIR += p5-Class-DBI-DATA-Schema
SUBDIR += p5-Class-DBI-DDL
SUBDIR += p5-Class-DBI-FromCGI
+ SUBDIR += p5-Class-DBI-LazyInflate
SUBDIR += p5-Class-DBI-Loader
SUBDIR += p5-Class-DBI-Loader-Relationship
SUBDIR += p5-Class-DBI-Oracle
diff --git a/databases/p5-Class-DBI-LazyInflate/Makefile b/databases/p5-Class-DBI-LazyInflate/Makefile
new file mode 100644
index 000000000000..64d13cc9ba52
--- /dev/null
+++ b/databases/p5-Class-DBI-LazyInflate/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: databases/p5-Class-DBI-LazyInflate
+# Date created: 05 February 2006
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-DBI-LazyInflate
+PORTVERSION= 0.06
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Defer inflating of columns until they are used
+
+BUILD_DEPENDS= ${SITE_PERL}/Data/Lazy.pm:${PORTSDIR}/devel/p5-Data-Lazy \
+ ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::DBI::LazyInflate.3
+
+.include <bsd.port.mk>
diff --git a/databases/p5-Class-DBI-LazyInflate/distinfo b/databases/p5-Class-DBI-LazyInflate/distinfo
new file mode 100644
index 000000000000..9154f44eadca
--- /dev/null
+++ b/databases/p5-Class-DBI-LazyInflate/distinfo
@@ -0,0 +1,3 @@
+MD5 (Class-DBI-LazyInflate-0.06.tar.gz) = 1676d3560c643f960094db56222efb97
+SHA256 (Class-DBI-LazyInflate-0.06.tar.gz) = dc8063a1d63dbf7313c7cbcbe088b6e941c282ddcf9d435ddedfea9959e8b0a3
+SIZE (Class-DBI-LazyInflate-0.06.tar.gz) = 3464
diff --git a/databases/p5-Class-DBI-LazyInflate/pkg-descr b/databases/p5-Class-DBI-LazyInflate/pkg-descr
new file mode 100644
index 000000000000..617555b2117d
--- /dev/null
+++ b/databases/p5-Class-DBI-LazyInflate/pkg-descr
@@ -0,0 +1,7 @@
+Class::DBI::LazyInflate is a utility class that allows you to create
+DBI columns that only inflate to an object when it is required.
+When a row is fetched, columns specified via has_lazy() is wrapped
+by Data::Lazy, such that it is inflated only when the column is
+actually used.
+
+WWW: http://search.cpan.org/dist/Class-DBI-LazyInflate/
diff --git a/databases/p5-Class-DBI-LazyInflate/pkg-plist b/databases/p5-Class-DBI-LazyInflate/pkg-plist
new file mode 100644
index 000000000000..c36dc9b23663
--- /dev/null
+++ b/databases/p5-Class-DBI-LazyInflate/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Class/DBI/LazyInflate.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/LazyInflate/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/LazyInflate
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
+@dirrmtry %%SITE_PERL%%/Class/DBI
+@dirrmtry %%SITE_PERL%%/Class