aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-T2
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2004-03-21 09:48:02 +0800
committervanilla <vanilla@FreeBSD.org>2004-03-21 09:48:02 +0800
commit248828676f3b9d48214380be651cbf660eac470d (patch)
tree2fa870d68e8632cb9df57f78553ae33bea65c19c /databases/p5-T2
parent28ca54a495ddc3c2892955e87ef3308667db99b9 (diff)
downloadfreebsd-ports-gnome-248828676f3b9d48214380be651cbf660eac470d.tar.gz
freebsd-ports-gnome-248828676f3b9d48214380be651cbf660eac470d.tar.zst
freebsd-ports-gnome-248828676f3b9d48214380be651cbf660eac470d.zip
Add p5-T2 0.07, object Relational mapping system.
PR: ports/61633 Submitted by: Scott McWhirter <scott_at_surreytech_dot_co_dot_uk>
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