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 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