aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2005-11-17 16:09:50 +0800
committerlth <lth@FreeBSD.org>2005-11-17 16:09:50 +0800
commit4152ebd2a1f818ca04d755f9fd04d7fb016ce695 (patch)
treed1a71c41eb300801878d6093bbc126b1f4e3cfe9
parent5e8771066d2788196dc4525c2e098d1bd10cf18c (diff)
downloadfreebsd-ports-graphics-4152ebd2a1f818ca04d755f9fd04d7fb016ce695.tar.gz
freebsd-ports-graphics-4152ebd2a1f818ca04d755f9fd04d7fb016ce695.tar.zst
freebsd-ports-graphics-4152ebd2a1f818ca04d755f9fd04d7fb016ce695.zip
Add p5-DBIx-Class-Loader 0.09, dynamic definition of DBIx::Class sub
classes. PR: ports/89155 Submitted by: Lars Balker Rasmussen <lars@balker.dk>
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBIx-Class-Loader/Makefile38
-rw-r--r--databases/p5-DBIx-Class-Loader/distinfo3
-rw-r--r--databases/p5-DBIx-Class-Loader/pkg-descr3
-rw-r--r--databases/p5-DBIx-Class-Loader/pkg-plist13
5 files changed, 58 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 48ca11415e6..e7bfad0eeef 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -192,6 +192,7 @@
SUBDIR += p5-DBIx-AnyDBD
SUBDIR += p5-DBIx-Browse
SUBDIR += p5-DBIx-Class
+ SUBDIR += p5-DBIx-Class-Loader
SUBDIR += p5-DBIx-ContextualFetch
SUBDIR += p5-DBIx-DBSchema
SUBDIR += p5-DBIx-DataSource
diff --git a/databases/p5-DBIx-Class-Loader/Makefile b/databases/p5-DBIx-Class-Loader/Makefile
new file mode 100644
index 00000000000..615714f1a50
--- /dev/null
+++ b/databases/p5-DBIx-Class-Loader/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: databases/p5-DBIx-Class-Loader
+# Date created: 16 Nov 2005
+# Whom: Lars Balker Rasmussen <lars@balker.dk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBIx-Class-Loader
+PORTVERSION= 0.09
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/S/SR/SRI
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lars@balker.dk
+COMMENT= Dynamic definition of DBIx::Class sub classes
+
+BUILD_DEPENDS= p5-DBI>=1.3:${PORTSDIR}/databases/p5-DBI \
+ p5-DBIx-Class>=0.03001:${PORTSDIR}/databases/p5-DBIx-Class \
+ p5-Lingua-EN-Inflect>=0:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect \
+ p5-Test-Simple>=0.45:${PORTSDIR}/devel/p5-Test-Simple \
+ p5-Text-Balanced>=0:${PORTSDIR}/textproc/p5-Text-Balanced
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DBIx::Class::Loader.3 \
+ DBIx::Class::Loader::Generic.3 \
+ DBIx::Class::Loader::Pg.3 \
+ DBIx::Class::Loader::SQLite.3 \
+ DBIx::Class::Loader::Writing.3 \
+ DBIx::Class::Loader::mysql.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} <= 500800
+IGNORE= requires Perl 5.8. Install lang/perl5.8, and try again
+.endif
+.include <bsd.port.post.mk>
diff --git a/databases/p5-DBIx-Class-Loader/distinfo b/databases/p5-DBIx-Class-Loader/distinfo
new file mode 100644
index 00000000000..7ed7dcf9716
--- /dev/null
+++ b/databases/p5-DBIx-Class-Loader/distinfo
@@ -0,0 +1,3 @@
+MD5 (DBIx-Class-Loader-0.09.tar.gz) = f7c20cdb7fb6f3594e5ac8de72560594
+SHA256 (DBIx-Class-Loader-0.09.tar.gz) = fc60a871a7b101ed63632001c85b2444318da71683dbd82c913f4996e517d66f
+SIZE (DBIx-Class-Loader-0.09.tar.gz) = 8075
diff --git a/databases/p5-DBIx-Class-Loader/pkg-descr b/databases/p5-DBIx-Class-Loader/pkg-descr
new file mode 100644
index 00000000000..6b24029b3d8
--- /dev/null
+++ b/databases/p5-DBIx-Class-Loader/pkg-descr
@@ -0,0 +1,3 @@
+Dynamic definition of DBIx::Class sub classes.
+
+WWW: http://search.cpan.org/dist/DBIx-Class-Loader
diff --git a/databases/p5-DBIx-Class-Loader/pkg-plist b/databases/p5-DBIx-Class-Loader/pkg-plist
new file mode 100644
index 00000000000..01eb6d863b0
--- /dev/null
+++ b/databases/p5-DBIx-Class-Loader/pkg-plist
@@ -0,0 +1,13 @@
+%%SITE_PERL%%/DBIx/Class/Loader/Writing.pm
+%%SITE_PERL%%/DBIx/Class/Loader/mysql.pm
+%%SITE_PERL%%/DBIx/Class/Loader/Generic.pm
+%%SITE_PERL%%/DBIx/Class/Loader/Pg.pm
+%%SITE_PERL%%/DBIx/Class/Loader/SQLite.pm
+%%SITE_PERL%%/DBIx/Class/Loader.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/Loader/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/Loader 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class/Loader 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBIx 2>/dev/null || true