aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-01-20 20:09:53 +0800
committerwen <wen@FreeBSD.org>2010-01-20 20:09:53 +0800
commitd177513510e1820a10c1664610464ae49f7e1155 (patch)
treeb6691eea09aeaed53243a21663573d9a6feb6305 /databases
parent109664b0e5a00072fd4996d71054cde7c6700502 (diff)
downloadfreebsd-ports-gnome-d177513510e1820a10c1664610464ae49f7e1155.tar.gz
freebsd-ports-gnome-d177513510e1820a10c1664610464ae49f7e1155.tar.zst
freebsd-ports-gnome-d177513510e1820a10c1664610464ae49f7e1155.zip
DBIx::VersionedDDL is a perl module to upgrade and downgrade database
schemas to a specified version. WWW: http://search.cpan.org/dist/DBIx-VersionedDDL/ PR: ports/142175 Submitted by: Alan Snelson <Alan@Wave2.org>
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBIx-VersionedDDL/Makefile26
-rw-r--r--databases/p5-DBIx-VersionedDDL/distinfo3
-rw-r--r--databases/p5-DBIx-VersionedDDL/pkg-descr4
-rw-r--r--databases/p5-DBIx-VersionedDDL/pkg-plist6
5 files changed, 40 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 5c9a7e35187a..98d8ea6d18ec 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -355,6 +355,7 @@
SUBDIR += p5-DBIx-Table
SUBDIR += p5-DBIx-TableHash
SUBDIR += p5-DBIx-Tree
+ SUBDIR += p5-DBIx-VersionedDDL
SUBDIR += p5-DBIx-XHTML_Table
SUBDIR += p5-DBIx-XML_RDB
SUBDIR += p5-DBM-Deep
diff --git a/databases/p5-DBIx-VersionedDDL/Makefile b/databases/p5-DBIx-VersionedDDL/Makefile
new file mode 100644
index 000000000000..fc6d207c82c7
--- /dev/null
+++ b/databases/p5-DBIx-VersionedDDL/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-DBIx-VersionedDDL
+# Date created: 30 December 2009
+# Whom: alan
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBIx-VersionedDDL
+PORTVERSION= 0.05
+CATEGORIES= databases perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= Alan@Wave2.org
+COMMENT= Upgrade and downgrade database schemas to a specified version
+
+RUN_DEPENDS= p5-DBD-SQLite>=1.27:${PORTSDIR}/databases/p5-DBD-SQLite \
+ p5-Moose>=0.93:${PORTSDIR}/devel/p5-Moose \
+ p5-Text-CSV>=1.16:${PORTSDIR}/textproc/p5-Text-CSV
+
+PERL_CONFIGURE= 5.8.8+
+
+MAN1= migrate_schema.1
+MAN3= DBIx::VersionedDDL.3
+
+.include <bsd.port.mk>
diff --git a/databases/p5-DBIx-VersionedDDL/distinfo b/databases/p5-DBIx-VersionedDDL/distinfo
new file mode 100644
index 000000000000..bcca40bd9142
--- /dev/null
+++ b/databases/p5-DBIx-VersionedDDL/distinfo
@@ -0,0 +1,3 @@
+MD5 (DBIx-VersionedDDL-0.05.tar.gz) = 72a9c7ee67f5078c8a431a456c740dce
+SHA256 (DBIx-VersionedDDL-0.05.tar.gz) = 3ce12532bff4b8eaef03ee49e9702c1541191aab411ea25dd664503061783586
+SIZE (DBIx-VersionedDDL-0.05.tar.gz) = 7908
diff --git a/databases/p5-DBIx-VersionedDDL/pkg-descr b/databases/p5-DBIx-VersionedDDL/pkg-descr
new file mode 100644
index 000000000000..0fd9f28075a5
--- /dev/null
+++ b/databases/p5-DBIx-VersionedDDL/pkg-descr
@@ -0,0 +1,4 @@
+DBIx::VersionedDDL is a perl module to upgrade and downgrade database
+schemas to a specified version.
+
+WWW: http://search.cpan.org/dist/DBIx-VersionedDDL/
diff --git a/databases/p5-DBIx-VersionedDDL/pkg-plist b/databases/p5-DBIx-VersionedDDL/pkg-plist
new file mode 100644
index 000000000000..787a2336e248
--- /dev/null
+++ b/databases/p5-DBIx-VersionedDDL/pkg-plist
@@ -0,0 +1,6 @@
+bin/migrate_schema
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/VersionedDDL/.packlist
+%%SITE_PERL%%/DBIx/VersionedDDL.pm
+@dirrmtry %%SITE_PERL%%/DBIx
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/VersionedDDL
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx