aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2015-06-02 12:28:26 +0800
committerkuriyama <kuriyama@FreeBSD.org>2015-06-02 12:28:26 +0800
commit7d2545dc1950d7e2ed9140c62f98acc5441df947 (patch)
tree3fa85c3026daa2df464f99fe379eec3c134bbe13 /databases
parent2bf628b9f815f6b0aa67d1f02f9cb816a2660dde (diff)
downloadfreebsd-ports-gnome-7d2545dc1950d7e2ed9140c62f98acc5441df947.tar.gz
freebsd-ports-gnome-7d2545dc1950d7e2ed9140c62f98acc5441df947.tar.zst
freebsd-ports-gnome-7d2545dc1950d7e2ed9140c62f98acc5441df947.zip
This is database migration helper module for users who manage database
schema version by single .sql file in git repository. By using this module, you can deploy .sql to database, check sql version between database and .sql file, make diff between them, and apply alter table to database. WWW: http://search.cpan.org/dist/GitDDL/
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-GitDDL/Makefile27
-rw-r--r--databases/p5-GitDDL/distinfo2
-rw-r--r--databases/p5-GitDDL/pkg-descr8
-rw-r--r--databases/p5-GitDDL/pkg-plist2
5 files changed, 40 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index c2291f7aa215..e75eaec6338d 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -408,6 +408,7 @@
SUBDIR += p5-Exception-Class-DBI
SUBDIR += p5-GDBM
SUBDIR += p5-Genezzo
+ SUBDIR += p5-GitDDL
SUBDIR += p5-GraphViz-DBI
SUBDIR += p5-HTML-FormHandler-Model-DBIC
SUBDIR += p5-Ima-DBI
diff --git a/databases/p5-GitDDL/Makefile b/databases/p5-GitDDL/Makefile
new file mode 100644
index 000000000000..3418b8af2aa9
--- /dev/null
+++ b/databases/p5-GitDDL/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= GitDDL
+PORTVERSION= 0.03
+CATEGORIES= databases perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:TYPESTER
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Perl extension for database migration utility by git managed sql
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+RUN_DEPENDS= \
+ p5-DBI>0:${PORTSDIR}/databases/p5-DBI \
+ p5-Git-Repository>0:${PORTSDIR}/devel/p5-Git-Repository \
+ p5-Mouse>0:${PORTSDIR}/devel/p5-Mouse \
+ p5-SQL-Translator>=0.11016:${PORTSDIR}/databases/p5-SQL-Translator
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+NO_ARCH= YES
+
+.include <bsd.port.mk>
diff --git a/databases/p5-GitDDL/distinfo b/databases/p5-GitDDL/distinfo
new file mode 100644
index 000000000000..f8f298a0046b
--- /dev/null
+++ b/databases/p5-GitDDL/distinfo
@@ -0,0 +1,2 @@
+SHA256 (GitDDL-0.03.tar.gz) = 0dc3f088f06a0259b4ec866f44b050ea7315649a4af5e0901f0d53238f13949a
+SIZE (GitDDL-0.03.tar.gz) = 32182
diff --git a/databases/p5-GitDDL/pkg-descr b/databases/p5-GitDDL/pkg-descr
new file mode 100644
index 000000000000..9ddd2136dff9
--- /dev/null
+++ b/databases/p5-GitDDL/pkg-descr
@@ -0,0 +1,8 @@
+This is database migration helper module for users who manage database
+schema version by single .sql file in git repository.
+
+By using this module, you can deploy .sql to database, check sql
+version between database and .sql file, make diff between them, and
+apply alter table to database.
+
+WWW: http://search.cpan.org/dist/GitDDL/
diff --git a/databases/p5-GitDDL/pkg-plist b/databases/p5-GitDDL/pkg-plist
new file mode 100644
index 000000000000..88ec8a949af6
--- /dev/null
+++ b/databases/p5-GitDDL/pkg-plist
@@ -0,0 +1,2 @@
+%%PERL5_MAN3%%/GitDDL.3.gz
+%%SITE_PERL%%/GitDDL.pm