aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2005-08-29 18:21:51 +0800
committerlth <lth@FreeBSD.org>2005-08-29 18:21:51 +0800
commit924c10b5564b83bd54cd3656d418416934d563f6 (patch)
treebf98eb2b665729c9b59d3353642dbd71f9616df9
parent81167c9e34618c5d2237ff42c3db016de0600f00 (diff)
downloadfreebsd-ports-gnome-924c10b5564b83bd54cd3656d418416934d563f6.tar.gz
freebsd-ports-gnome-924c10b5564b83bd54cd3656d418416934d563f6.tar.zst
freebsd-ports-gnome-924c10b5564b83bd54cd3656d418416934d563f6.zip
Add p5-DBIx-Class 0.02, SQL to OOP mapper, replacement for Class::DBI.
PR: ports/84912 Submitted by: Lars Balker Rasmussen <lars@balker.dk>
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBIx-Class/Makefile53
-rw-r--r--databases/p5-DBIx-Class/distinfo2
-rw-r--r--databases/p5-DBIx-Class/pkg-descr11
-rw-r--r--databases/p5-DBIx-Class/pkg-plist60
5 files changed, 127 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 35dc325f66b1..dddc72c9049e 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -186,6 +186,7 @@
SUBDIR += p5-DBIWrapper
SUBDIR += p5-DBIx-AnyDBD
SUBDIR += p5-DBIx-Browse
+ SUBDIR += p5-DBIx-Class
SUBDIR += p5-DBIx-ContextualFetch
SUBDIR += p5-DBIx-DBSchema
SUBDIR += p5-DBIx-DataSource
diff --git a/databases/p5-DBIx-Class/Makefile b/databases/p5-DBIx-Class/Makefile
new file mode 100644
index 000000000000..b620ddec5153
--- /dev/null
+++ b/databases/p5-DBIx-Class/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: DBIx-Class
+# Date created: 14 Aug 2005
+# Whom: Lars Balker Rasmussen <lars@balker.dk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBIx-Class
+PORTVERSION= 0.02
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/A/AG/AGRUNDMA
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lars@balker.dk
+COMMENT= SQL to OOP mapper, replacement for Class::DBI
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${SITE_PERL}/NEXT.pm:${PORTSDIR}/devel/p5-NEXT \
+ ${SITE_PERL}/SQL/Abstract/Limit.pm:${PORTSDIR}/databases/p5-SQL-Abstract-Limit \
+ ${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash \
+ ${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-exports
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= DBIx::Class::Storage::DBI.3 \
+ DBIx::Class::PK::Auto::MySQL.3 \
+ DBIx::Class::PK.3 \
+ DBIx::Class.3 \
+ DBIx::Class::PK::Auto::Oracle.3 \
+ DBIx::Class::Exception.3 \
+ DBIx::Class::Relationship::Base.3 \
+ DBIx::Class::PK::Auto::Pg.3 \
+ DBIx::Class::PK::Auto::MSSQL.3 \
+ DBIx::Class::CDBICompat.3 \
+ DBIx::Class::Relationship.3 \
+ DBIx::Class::Core.3 \
+ DBIx::Class::PK::Auto.3 \
+ DBIx::Class::DB.3 \
+ DBIx::Class::Table.3 \
+ DBIx::Class::AccessorGroup.3 \
+ DBIx::Class::Schema.3 \
+ DBIx::Class::PK::Auto::SQLite.3 \
+ DBIx::Class::Test::SQLite.3 \
+ DBIx::Class::Row.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500801
+IGNORE= requires at least Perl 5.8.1. Install lang/perl5.8, and try again
+.endif
+.include <bsd.port.post.mk>
diff --git a/databases/p5-DBIx-Class/distinfo b/databases/p5-DBIx-Class/distinfo
new file mode 100644
index 000000000000..c57dae860e95
--- /dev/null
+++ b/databases/p5-DBIx-Class/distinfo
@@ -0,0 +1,2 @@
+MD5 (DBIx-Class-0.02.tar.gz) = b01bead9264d6199923d5abcbd75c0ff
+SIZE (DBIx-Class-0.02.tar.gz) = 49417
diff --git a/databases/p5-DBIx-Class/pkg-descr b/databases/p5-DBIx-Class/pkg-descr
new file mode 100644
index 000000000000..a943020eb048
--- /dev/null
+++ b/databases/p5-DBIx-Class/pkg-descr
@@ -0,0 +1,11 @@
+This is a sql to oop mapper, inspired by the Class::DBI framework, and
+meant to support compability with it, while restructuring the insides,
+and making it possible to support some new features like self-joins,
+distinct, group bys and more.
+
+It's currently considered EXPERIMENTAL - bring this near a production
+database at your own risk! The API is *not* fixed yet, although most of
+the primitives should be good for the future and any API changes will be
+posted to the mailing list before they're committed.
+
+WWW: http://search.cpan.org/dist/DBIx-Class/
diff --git a/databases/p5-DBIx-Class/pkg-plist b/databases/p5-DBIx-Class/pkg-plist
new file mode 100644
index 000000000000..23eff954cdf3
--- /dev/null
+++ b/databases/p5-DBIx-Class/pkg-plist
@@ -0,0 +1,60 @@
+%%SITE_PERL%%/DBIx/Class.pm
+%%SITE_PERL%%/DBIx/Class/AccessorGroup.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/AccessorMapping.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/AttributeAPI.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/AutoUpdate.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/ColumnCase.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/ColumnGroups.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/Constraints.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/Constructor.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/DestroyWarning.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/GetSet.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/HasA.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/HasMany.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/ImaDBI.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/LazyLoading.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/LiveObjectIndex.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/MightHave.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/ObjIndexStubs.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/ReadOnly.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/Retrieve.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/Stringify.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/TempColumns.pm
+%%SITE_PERL%%/DBIx/Class/CDBICompat/Triggers.pm
+%%SITE_PERL%%/DBIx/Class/ClassResolver/PassThrough.pm
+%%SITE_PERL%%/DBIx/Class/Componentised.pm
+%%SITE_PERL%%/DBIx/Class/Core.pm
+%%SITE_PERL%%/DBIx/Class/Cursor.pm
+%%SITE_PERL%%/DBIx/Class/DB.pm
+%%SITE_PERL%%/DBIx/Class/Exception.pm
+%%SITE_PERL%%/DBIx/Class/InflateColumn.pm
+%%SITE_PERL%%/DBIx/Class/PK.pm
+%%SITE_PERL%%/DBIx/Class/PK/Auto.pm
+%%SITE_PERL%%/DBIx/Class/PK/Auto/MSSQL.pm
+%%SITE_PERL%%/DBIx/Class/PK/Auto/MySQL.pm
+%%SITE_PERL%%/DBIx/Class/PK/Auto/Oracle.pm
+%%SITE_PERL%%/DBIx/Class/PK/Auto/Pg.pm
+%%SITE_PERL%%/DBIx/Class/PK/Auto/SQLite.pm
+%%SITE_PERL%%/DBIx/Class/Relationship.pm
+%%SITE_PERL%%/DBIx/Class/Relationship/Accessor.pm
+%%SITE_PERL%%/DBIx/Class/Relationship/Base.pm
+%%SITE_PERL%%/DBIx/Class/Relationship/CascadeActions.pm
+%%SITE_PERL%%/DBIx/Class/Relationship/ProxyMethods.pm
+%%SITE_PERL%%/DBIx/Class/ResultSet.pm
+%%SITE_PERL%%/DBIx/Class/Row.pm
+%%SITE_PERL%%/DBIx/Class/Schema.pm
+%%SITE_PERL%%/DBIx/Class/Storage/DBI.pm
+%%SITE_PERL%%/DBIx/Class/Storage/DBI/Cursor.pm
+%%SITE_PERL%%/DBIx/Class/Table.pm
+%%SITE_PERL%%/DBIx/Class/Test/SQLite.pm
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/Test 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/Storage/DBI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/Storage 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/Relationship 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/PK/Auto 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/PK 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/ClassResolver 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/CDBICompat 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true