summaryrefslogtreecommitdiff
path: root/databases/p5-SQL-Translator
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-SQL-Translator')
-rw-r--r--databases/p5-SQL-Translator/DESCR12
-rw-r--r--databases/p5-SQL-Translator/Makefile32
-rw-r--r--databases/p5-SQL-Translator/distinfo5
3 files changed, 49 insertions, 0 deletions
diff --git a/databases/p5-SQL-Translator/DESCR b/databases/p5-SQL-Translator/DESCR
new file mode 100644
index 00000000000..1f122285e42
--- /dev/null
+++ b/databases/p5-SQL-Translator/DESCR
@@ -0,0 +1,12 @@
+SQL::Translator is a group of Perl modules that converts vendor-specific
+SQL table definitions into other formats, such as other vendor-specific
+SQL, ER diagrams, documentation (POD and HTML), XML, and Class::DBI
+classes. The main focus of SQL::Translator is SQL, but parsers
+exist for other structured data formats, including Excel spreadsheets
+and arbitrarily delimited text files. Through the separation of
+the code into parsers and producers with an object model in between,
+it's possible to combine any parser with any producer, to plug in
+custom parsers or producers, or to manipulate the parsed data via
+the built-in object model. Presently only the definition parts of
+SQL are handled (CREATE, ALTER), not the manipulation of data
+(INSERT, UPDATE, DELETE).
diff --git a/databases/p5-SQL-Translator/Makefile b/databases/p5-SQL-Translator/Makefile
new file mode 100644
index 00000000000..0148ed2636e
--- /dev/null
+++ b/databases/p5-SQL-Translator/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/14 09:35:11 abs Exp $
+
+DISTNAME= SQL-Translator-0.09000
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/J/JR/JROBINSON/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/perldoc?SQL::Translator
+COMMENT= Manipulate structured data definitions (SQL and more)
+
+DEPENDS+= p5-Class-Base>=0:../../devel/p5-Class-Base
+DEPENDS+= p5-Class-Data-Inheritable>=0.02:../../devel/p5-Class-Data-Inheritable
+DEPENDS+= p5-Class-MakeMethods>=0:../../devel/p5-Class-MakeMethods
+DEPENDS+= p5-Log-Log4perl>=0:../../devel/p5-Log-Log4perl
+DEPENDS+= p5-Parse-RecDescent>=1.94:../../devel/p5-Parse-RecDescent
+DEPENDS+= p5-Class-Accessor>=0:../../devel/p5-Class-Accessor
+DEPENDS+= p5-DBI>=0:../../databases/p5-DBI
+
+BUILD_DEPENDS+= p5-PathTools>=0:../../devel/p5-PathTools
+BUILD_DEPENDS+= p5-Test-Exception>=0:../../devel/p5-Test-Exception
+BUILD_DEPENDS+= p5-Test-Differences>=0:../../devel/p5-Test-Differences
+BUILD_DEPENDS+= p5-YAML>=0.39:../../textproc/p5-YAML
+
+USE_LANGUAGES= # empty
+PERL5_MODULE_TYPE= Module::Build
+PERL5_PACKLIST= auto/SQL/Translator/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-SQL-Translator/distinfo b/databases/p5-SQL-Translator/distinfo
new file mode 100644
index 00000000000..65bd15eea7b
--- /dev/null
+++ b/databases/p5-SQL-Translator/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/14 09:35:11 abs Exp $
+
+SHA1 (SQL-Translator-0.09000.tar.gz) = 086a63957c1bce09643d4e7fefca36fd56e56415
+RMD160 (SQL-Translator-0.09000.tar.gz) = 4d36b5a7e84fa13dbff0532562931dcc9cce9b3e
+Size (SQL-Translator-0.09000.tar.gz) = 551392 bytes