aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-02-05 03:45:40 +0800
committererwin <erwin@FreeBSD.org>2006-02-05 03:45:40 +0800
commit255286fa357650b588b7eeda54420a046335fd99 (patch)
tree17e5417032c23fd81a6fe542b4c55d696b5b7b0d /databases
parent6bb793d276208c8db31f8ead82a5cfb380022fc8 (diff)
downloadfreebsd-ports-gnome-255286fa357650b588b7eeda54420a046335fd99.tar.gz
freebsd-ports-gnome-255286fa357650b588b7eeda54420a046335fd99.tar.zst
freebsd-ports-gnome-255286fa357650b588b7eeda54420a046335fd99.zip
DBIx::Class::Schema::Loader automates the definition of a
DBIx::Class::Schema by scanning table schemas and setting up columns and primary keys. DBIx::Class::Schema::Loader supports MySQL, Postgres, SQLite and DB2. See DBIx::Class::Schema::Loader::Generic for more, and DBIx::Class::Schema::Loader::Writing for notes on writing your own db-specific subclass for an unsupported db. This module requires DBIx::Class 0.05 or later, and obsoletes DBIx::Class::Loader for DBIx::Class version 0.05 and later. WWW: http://search.cpan.org/dist/DBIx-Class-Schema-Loader/ PR: ports/92813 Submitted by: Lars Balker Rasmussen <lars@balker.dk>
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBIx-Class-Schema-Loader/Makefile44
-rw-r--r--databases/p5-DBIx-Class-Schema-Loader/distinfo3
-rw-r--r--databases/p5-DBIx-Class-Schema-Loader/pkg-descr19
-rw-r--r--databases/p5-DBIx-Class-Schema-Loader/pkg-plist11
5 files changed, 78 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 7ae6490531e3..93bdccd7ebed 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -203,6 +203,7 @@
SUBDIR += p5-DBIx-Browse
SUBDIR += p5-DBIx-Class
SUBDIR += p5-DBIx-Class-Loader
+ SUBDIR += p5-DBIx-Class-Schema-Loader
SUBDIR += p5-DBIx-ContextualFetch
SUBDIR += p5-DBIx-DBSchema
SUBDIR += p5-DBIx-DataSource
diff --git a/databases/p5-DBIx-Class-Schema-Loader/Makefile b/databases/p5-DBIx-Class-Schema-Loader/Makefile
new file mode 100644
index 000000000000..cae2a3820462
--- /dev/null
+++ b/databases/p5-DBIx-Class-Schema-Loader/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: databases/p5-DBIx-Class-Schema-Loader
+# Date created: 4 Feb 2006
+# Whom: Lars Balker Rasmussen <lars@balker.dk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBIx-Class-Schema-Loader
+PORTVERSION= 0.01002
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DBIx
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lars@balker.dk
+COMMENT= Dynamic definition of a DBIx::Class::Schema
+
+BUILD_DEPENDS= p5-DBIx-Class>=0.05000:${PORTSDIR}/databases/p5-DBIx-Class \
+ p5-UNIVERSAL-require>=0.10:${PORTSDIR}/devel/p5-UNIVERSAL-require \
+ p5-Lingua-EN-Inflect>=0:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect \
+ p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced \
+ p5-Class-Accessor>=0.22:${PORTSDIR}/devel/p5-Class-Accessor \
+ p5-Class-Data-Accessor>=0.02:${PORTSDIR}/devel/p5-Class-Data-Accessor \
+ p5-Class-C3>=0.09:${PORTSDIR}/devel/p5-Class-C3 \
+ p5-DBI>=1.40:${PORTSDIR}/databases/p5-DBI \
+ p5-DBD-SQLite>=1.11:${PORTSDIR}/databases/p5-DBD-SQLite \
+ p5-Test-Simple>=0.32:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= DBIx::Class::Schema::Loader.3 \
+ DBIx::Class::Schema::Loader::DB2.3 \
+ DBIx::Class::Schema::Loader::Generic.3 \
+ DBIx::Class::Schema::Loader::Pg.3 \
+ DBIx::Class::Schema::Loader::SQLite.3 \
+ DBIx::Class::Schema::Loader::Writing.3 \
+ DBIx::Class::Schema::Loader::mysql.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} <= 500800
+IGNORE= requires Perl 5.8. Install lang/perl5.8, and try again
+.endif
+.include <bsd.port.post.mk>
diff --git a/databases/p5-DBIx-Class-Schema-Loader/distinfo b/databases/p5-DBIx-Class-Schema-Loader/distinfo
new file mode 100644
index 000000000000..8b82953a1086
--- /dev/null
+++ b/databases/p5-DBIx-Class-Schema-Loader/distinfo
@@ -0,0 +1,3 @@
+MD5 (DBIx-Class-Schema-Loader-0.01002.tar.gz) = ab619c1aaee65836cbe863e60fd6ed5c
+SHA256 (DBIx-Class-Schema-Loader-0.01002.tar.gz) = 22c2820f272bed1ebd61a1c0a0fb054a4ab56c619b0b5f71b2f52809b7e2a505
+SIZE (DBIx-Class-Schema-Loader-0.01002.tar.gz) = 16314
diff --git a/databases/p5-DBIx-Class-Schema-Loader/pkg-descr b/databases/p5-DBIx-Class-Schema-Loader/pkg-descr
new file mode 100644
index 000000000000..ac912030ea02
--- /dev/null
+++ b/databases/p5-DBIx-Class-Schema-Loader/pkg-descr
@@ -0,0 +1,19 @@
+THIS IS A DEVELOPMENT RELEASE. This is 0.01xxx, the first public
+releases. Expect things to be broken in various ways. Expect the entire
+design to be fatally flawed. Expect the interfaces to change if it
+becomes neccessary. It's mostly here for people to poke at it and find
+the flaws in it. 0.02 will hopefully have some sanity when we get there.
+
+DBIx::Class::Schema::Loader automates the definition of a
+DBIx::Class::Schema by scanning table schemas and setting up columns and
+primary keys.
+
+DBIx::Class::Schema::Loader supports MySQL, Postgres, SQLite and DB2.
+See DBIx::Class::Schema::Loader::Generic for more, and
+DBIx::Class::Schema::Loader::Writing for notes on writing your own
+db-specific subclass for an unsupported db.
+
+This module requires DBIx::Class 0.05 or later, and obsoletes
+DBIx::Class::Loader for DBIx::Class version 0.05 and later.
+
+WWW: http://search.cpan.org/dist/DBIx-Class-Schema-Loader/
diff --git a/databases/p5-DBIx-Class-Schema-Loader/pkg-plist b/databases/p5-DBIx-Class-Schema-Loader/pkg-plist
new file mode 100644
index 000000000000..fd88446c36c2
--- /dev/null
+++ b/databases/p5-DBIx-Class-Schema-Loader/pkg-plist
@@ -0,0 +1,11 @@
+%%SITE_PERL%%/DBIx/Class/Schema/Loader.pm
+%%SITE_PERL%%/DBIx/Class/Schema/Loader/DB2.pm
+%%SITE_PERL%%/DBIx/Class/Schema/Loader/Generic.pm
+%%SITE_PERL%%/DBIx/Class/Schema/Loader/Pg.pm
+%%SITE_PERL%%/DBIx/Class/Schema/Loader/SQLite.pm
+%%SITE_PERL%%/DBIx/Class/Schema/Loader/Writing.pm
+%%SITE_PERL%%/DBIx/Class/Schema/Loader/mysql.pm
+@dirrmtry %%SITE_PERL%%/DBIx/Class/Schema/Loader
+@dirrmtry %%SITE_PERL%%/DBIx/Class/Schema
+@dirrmtry %%SITE_PERL%%/DBIx/Class
+@dirrmtry %%SITE_PERL%%/DBIx