summaryrefslogtreecommitdiff
path: root/databases/p5-T2
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-03-21 01:48:02 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-03-21 01:48:02 +0000
commit4b6bb91e63406e7a6834a419ed2a102ea09c0b25 (patch)
treeeca1a1f9affe332d33002c27702e0c15a09093a6 /databases/p5-T2
parentUpgrade to 1.42. (diff)
Add p5-T2 0.07, object Relational mapping system.
PR: ports/61633 Submitted by: Scott McWhirter <scott_at_surreytech_dot_co_dot_uk>
Notes
Notes: svn path=/head/; revision=104793
Diffstat (limited to 'databases/p5-T2')
-rw-r--r--databases/p5-T2/Makefile30
-rw-r--r--databases/p5-T2/distinfo2
-rw-r--r--databases/p5-T2/pkg-descr22
-rw-r--r--databases/p5-T2/pkg-plist14
4 files changed, 68 insertions, 0 deletions
diff --git a/databases/p5-T2/Makefile b/databases/p5-T2/Makefile
new file mode 100644
index 000000000000..4cc32c9ee250
--- /dev/null
+++ b/databases/p5-T2/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: p5-T2
+# Date created: 19 January 2004
+# Whom: Scott McWhirter <scott@surreytech.co.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= T2
+PORTVERSION= 0.07
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Tangram/SAMV
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= scott@surreytech.co.uk
+COMMENT= Object Relational mapping system
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Set/Object.pm:${PORTSDIR}/devel/p5-Set-Object \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${SITE_PERL}/Tangram.pm:${PORTSDIR}/databases/p5-Tangram \
+ ${SITE_PERL}/Class/Tangram.pm:${PORTSDIR}/devel/p5-Class-Tangram
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= T2.3 T2::Association.3 T2::Attribute.3 T2::Class.3 \
+ T2::Schema.3 T2::Storage.3
+
+.include <bsd.port.mk>
diff --git a/databases/p5-T2/distinfo b/databases/p5-T2/distinfo
new file mode 100644
index 000000000000..ee19490f2a5f
--- /dev/null
+++ b/databases/p5-T2/distinfo
@@ -0,0 +1,2 @@
+MD5 (T2-0.07.tar.gz) = 10da5038f218d106eb5274ae22bd7636
+SIZE (T2-0.07.tar.gz) = 33685
diff --git a/databases/p5-T2/pkg-descr b/databases/p5-T2/pkg-descr
new file mode 100644
index 000000000000..f42b7994460b
--- /dev/null
+++ b/databases/p5-T2/pkg-descr
@@ -0,0 +1,22 @@
+The T2 module is a base for the refactoring of the now quite stable
+Tangram Object-Relational mapper.
+
+In a nutshell, it lets you store objects - which have to be described to a
+similar level that you would describe a database to store them - into any
+SQL store. Currently, this is tested on PostgreSQL, MySQL, Oracle and
+Sybase a lot, though in general database-specific extensions to SQL, such
+as triggers, stored procedures, etc are avoided. So, if DBI installs and
+tests successfully with your database, there is a good chance that T2 will
+work with it too.
+
+The only current requirement is that objects that have tables associated
+with them are implemented via hashes. You also have to be able to describe
+all of the fields for those root objects. Individual fields of stored
+objects may be arbitrarily complex.
+
+If you are familiar with DBI, it is somewhat similar to bless'ing the
+structures returned by $dbh->fetchrow_hashref, except that references and
+collections to other objects in the store are loaded `on demand' (aka
+Lazy-loading).
+
+WWW: http://search.cpan.org/dist/T2/
diff --git a/databases/p5-T2/pkg-plist b/databases/p5-T2/pkg-plist
new file mode 100644
index 000000000000..5f88903c0b46
--- /dev/null
+++ b/databases/p5-T2/pkg-plist
@@ -0,0 +1,14 @@
+bin/t2-db-info.pl
+bin/t2-fsck-schema.pl
+bin/t2-migrate-db.pl
+bin/t2-write-js.pl
+lib/perl5/site_perl/5.8.2/T2.pm
+lib/perl5/site_perl/5.8.2/T2/Association.pm
+lib/perl5/site_perl/5.8.2/T2/Attribute.pm
+lib/perl5/site_perl/5.8.2/T2/Class.pm
+lib/perl5/site_perl/5.8.2/T2/Method.pm
+lib/perl5/site_perl/5.8.2/T2/Schema.pm
+lib/perl5/site_perl/5.8.2/T2/Storage.pm
+lib/perl5/site_perl/5.8.2/mach/auto/T2/.packlist
+@dirrm lib/perl5/site_perl/5.8.2/mach/auto/T2
+@dirrm lib/perl5/site_perl/5.8.2/T2