summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2002-11-22 19:57:43 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2002-11-22 19:57:43 +0000
commitf5d155859d73f017012fb668adc04af1540e1635 (patch)
tree260ec3f940bd9c24ffcad58f778a827a7b89cb9f /databases
parentPass QTDIR explict to qmake (diff)
Add p5-DBIx-DBSchema 0.21, an OO-interface to database schemas.
PR: 38013 Submitted by: Peter Avalos <pavalos@theshell.com>
Notes
Notes: svn path=/head/; revision=70759
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBIx-DBSchema/Makefile30
-rw-r--r--databases/p5-DBIx-DBSchema/distinfo1
-rw-r--r--databases/p5-DBIx-DBSchema/pkg-comment1
-rw-r--r--databases/p5-DBIx-DBSchema/pkg-descr7
-rw-r--r--databases/p5-DBIx-DBSchema/pkg-plist17
6 files changed, 57 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index c71a266d5cc3..d3b41ee53dbe 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -85,6 +85,7 @@
SUBDIR += p5-DBI
SUBDIR += p5-DBIWrapper
SUBDIR += p5-DBIx-AnyDBD
+ SUBDIR += p5-DBIx-DBSchema
SUBDIR += p5-DBIx-DataSource
SUBDIR += p5-DBIx-Password
SUBDIR += p5-DBIx-Recordset
diff --git a/databases/p5-DBIx-DBSchema/Makefile b/databases/p5-DBIx-DBSchema/Makefile
new file mode 100644
index 000000000000..aca39cfa76ac
--- /dev/null
+++ b/databases/p5-DBIx-DBSchema/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: databases/p5-DBIx-DBSchema
+# Date created: 21 September 2002
+# Whom: Peter Avalos <pavalos@theshell.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBIx-DBSchema
+PORTVERSION= 0.21
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DBIx
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= DBIx::DBSchema.3 DBIx::DBSchema::ColGroup.3 \
+ DBIx::DBSchema::ColGroup::Index.3 DBIx::DBSchema::ColGroup::Unique.3 \
+ DBIx::DBSchema::Column.3 DBIx::DBSchema::DBD.3 \
+ DBIx::DBSchema::DBD::mysql.3 DBIx::DBSchema::DBD::Pg.3 \
+ DBIx::DBSchema::DBD::Sybase.3 DBIx::DBSchema::Table.3
+
+.include <bsd.port.mk>
diff --git a/databases/p5-DBIx-DBSchema/distinfo b/databases/p5-DBIx-DBSchema/distinfo
new file mode 100644
index 000000000000..440b9a4cbe68
--- /dev/null
+++ b/databases/p5-DBIx-DBSchema/distinfo
@@ -0,0 +1 @@
+MD5 (DBIx-DBSchema-0.21.tar.gz) = 1f7c936b287d2895aee0ee17a24358bb
diff --git a/databases/p5-DBIx-DBSchema/pkg-comment b/databases/p5-DBIx-DBSchema/pkg-comment
new file mode 100644
index 000000000000..b35b3f2daac8
--- /dev/null
+++ b/databases/p5-DBIx-DBSchema/pkg-comment
@@ -0,0 +1 @@
+An OO-interface to database schemas
diff --git a/databases/p5-DBIx-DBSchema/pkg-descr b/databases/p5-DBIx-DBSchema/pkg-descr
new file mode 100644
index 000000000000..ae07df2b7455
--- /dev/null
+++ b/databases/p5-DBIx-DBSchema/pkg-descr
@@ -0,0 +1,7 @@
+This module implements an OO-interface to database schemas. Using this module,
+you can create a database schema with an OO Perl interface. You can read the
+schema from an existing database. You can save the schema to disk and restore
+it in a different process. Most importantly, DBIx::DBSchema can write SQL
+CREATE statements for different databases from a single source.
+
+WWW: http://www.420.am/dbix-dbschema/
diff --git a/databases/p5-DBIx-DBSchema/pkg-plist b/databases/p5-DBIx-DBSchema/pkg-plist
new file mode 100644
index 000000000000..4c029f475cc7
--- /dev/null
+++ b/databases/p5-DBIx-DBSchema/pkg-plist
@@ -0,0 +1,17 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/DBSchema/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema.pm
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/ColGroup.pm
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/ColGroup/Unique.pm
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/ColGroup/Index.pm
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/Column.pm
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/DBD.pm
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/DBD/Pg.pm
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/DBD/Sybase.pm
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/DBD/mysql.pm
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/Table.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/DBSchema
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/ColGroup
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema/DBD
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/DBSchema
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true