aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-Class-DBI-Loader
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2003-08-20 08:47:10 +0000
committerMathieu Arnold <mat@FreeBSD.org>2003-08-20 08:47:10 +0000
commit072cd9b8fba5a3efc6bf30bf25671ed342b99ca1 (patch)
treeb243a7540af515ccf189c0693e78f5ea952f710e /databases/p5-Class-DBI-Loader
parentab17f82ad5510e30e754ee528366c99918bc772c (diff)
downloadports-072cd9b8fba5a3efc6bf30bf25671ed342b99ca1.tar.gz
ports-072cd9b8fba5a3efc6bf30bf25671ed342b99ca1.zip
Notes
Diffstat (limited to 'databases/p5-Class-DBI-Loader')
-rw-r--r--databases/p5-Class-DBI-Loader/Makefile31
-rw-r--r--databases/p5-Class-DBI-Loader/distinfo1
-rw-r--r--databases/p5-Class-DBI-Loader/pkg-descr15
-rw-r--r--databases/p5-Class-DBI-Loader/pkg-plist12
4 files changed, 59 insertions, 0 deletions
diff --git a/databases/p5-Class-DBI-Loader/Makefile b/databases/p5-Class-DBI-Loader/Makefile
new file mode 100644
index 000000000000..c881f943f329
--- /dev/null
+++ b/databases/p5-Class-DBI-Loader/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: p5-Class-DBI-Loader
+# Date created: 21 july 2003
+# Whom: mat
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-DBI-Loader
+PORTVERSION= 0.01
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= Dynamic definition of Class::DBI sub classes
+
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::DBI::Loader.3 \
+ Class::DBI::Loader::Generic.3 \
+ Class::DBI::Loader::Pg.3 \
+ Class::DBI::Loader::SQLite.3 \
+ Class::DBI::Loader::mysql.3
+
+.include <bsd.port.mk>
diff --git a/databases/p5-Class-DBI-Loader/distinfo b/databases/p5-Class-DBI-Loader/distinfo
new file mode 100644
index 000000000000..2089aeaa00eb
--- /dev/null
+++ b/databases/p5-Class-DBI-Loader/distinfo
@@ -0,0 +1 @@
+MD5 (Class-DBI-Loader-0.01.tar.gz) = e6f1baeffc21bc33f0dd0180efe90e77
diff --git a/databases/p5-Class-DBI-Loader/pkg-descr b/databases/p5-Class-DBI-Loader/pkg-descr
new file mode 100644
index 000000000000..e6cf422e8bad
--- /dev/null
+++ b/databases/p5-Class-DBI-Loader/pkg-descr
@@ -0,0 +1,15 @@
+Class::DBI::Loader automate the definition of Class::DBI sub-classes. scan
+table schemas and setup columns, primary key.
+
+class names are defined by table names and namespace option.
+
++-----------+-----------+-----------+
+| table | namespace | class |
++-----------+-----------+-----------+
+| foo | Data | Data::Foo |
+| foo_bar | | FooBar |
++-----------+-----------+-----------+
+
+Class::DBI::Loader supports MySQL, Postgres and SQLite.
+
+WWW: http://search.cpan.org/dist/Class-DBI-Loader/
diff --git a/databases/p5-Class-DBI-Loader/pkg-plist b/databases/p5-Class-DBI-Loader/pkg-plist
new file mode 100644
index 000000000000..3a01f20976cb
--- /dev/null
+++ b/databases/p5-Class-DBI-Loader/pkg-plist
@@ -0,0 +1,12 @@
+%%SITE_PERL%%/Class/DBI/Loader.pm
+%%SITE_PERL%%/Class/DBI/Loader/Generic.pm
+%%SITE_PERL%%/Class/DBI/Loader/Pg.pm
+%%SITE_PERL%%/Class/DBI/Loader/SQLite.pm
+%%SITE_PERL%%/Class/DBI/Loader/mysql.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Loader/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Loader
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Class/DBI/Loader
+@unexec rmdir %D/%%SITE_PERL%%/Class/DBI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true