aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2004-10-25 06:30:47 +0800
committerlth <lth@FreeBSD.org>2004-10-25 06:30:47 +0800
commit4cb8f592ffafa656d1e9490efb65050b90bac2ee (patch)
treeab31e8a467fbb67137b758c8e127732f9a5917dc /databases
parente6060602ebc9054873ea79963e7cd9e7c8ce8b56 (diff)
downloadfreebsd-ports-gnome-4cb8f592ffafa656d1e9490efb65050b90bac2ee.tar.gz
freebsd-ports-gnome-4cb8f592ffafa656d1e9490efb65050b90bac2ee.tar.zst
freebsd-ports-gnome-4cb8f592ffafa656d1e9490efb65050b90bac2ee.zip
Add p5-Class-DBI-DATA-Schema 0.04, execute Class::DBI SQL from DATA
sections.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-Class-DBI-DATA-Schema/Makefile34
-rw-r--r--databases/p5-Class-DBI-DATA-Schema/distinfo2
-rw-r--r--databases/p5-Class-DBI-DATA-Schema/pkg-descr5
-rw-r--r--databases/p5-Class-DBI-DATA-Schema/pkg-plist9
5 files changed, 51 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 01259afd0085..638debf64ea3 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -124,6 +124,7 @@
SUBDIR += p5-Class-DBI-AsForm
SUBDIR += p5-Class-DBI-AutoLoader
SUBDIR += p5-Class-DBI-BaseDSN
+ SUBDIR += p5-Class-DBI-DATA-Schema
SUBDIR += p5-Class-DBI-FromCGI
SUBDIR += p5-Class-DBI-Loader
SUBDIR += p5-Class-DBI-Loader-Relationship
diff --git a/databases/p5-Class-DBI-DATA-Schema/Makefile b/databases/p5-Class-DBI-DATA-Schema/Makefile
new file mode 100644
index 000000000000..fba54cf6a0c9
--- /dev/null
+++ b/databases/p5-Class-DBI-DATA-Schema/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: databases/p5-Class-DBI-DATA-Schema
+# Date created: 24 October 2004
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-DBI-DATA-Schema
+PORTVERSION= 0.04
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Execute Class::DBI SQL from DATA sections
+
+BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::DBI::DATA::Schema.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} <= 500503
+post-patch:
+ ${PERL} -pi -e '$$_ = "" if /use warnings/;' \
+ -e '$$_ = "" if /ABSTRACT_FROM/;' \
+ -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
+ ${WRKSRC}/Makefile.PL \
+ ${WRKSRC}/lib/Class/DBI/DATA/Schema.pm
+.endif
+.include <bsd.port.post.mk>
diff --git a/databases/p5-Class-DBI-DATA-Schema/distinfo b/databases/p5-Class-DBI-DATA-Schema/distinfo
new file mode 100644
index 000000000000..cd781b32a36e
--- /dev/null
+++ b/databases/p5-Class-DBI-DATA-Schema/distinfo
@@ -0,0 +1,2 @@
+MD5 (Class-DBI-DATA-Schema-0.04.tar.gz) = 61717b2145d85e99115ccbae26a90d5d
+SIZE (Class-DBI-DATA-Schema-0.04.tar.gz) = 3171
diff --git a/databases/p5-Class-DBI-DATA-Schema/pkg-descr b/databases/p5-Class-DBI-DATA-Schema/pkg-descr
new file mode 100644
index 000000000000..a5dd82df301a
--- /dev/null
+++ b/databases/p5-Class-DBI-DATA-Schema/pkg-descr
@@ -0,0 +1,5 @@
+This is an extension to Class::DBI which injects a method into your
+class to find and execute all SQL statements in the DATA section
+of the package.
+
+WWW: http://search.cpan.org/dist/Class-DBI-DATA-Schema
diff --git a/databases/p5-Class-DBI-DATA-Schema/pkg-plist b/databases/p5-Class-DBI-DATA-Schema/pkg-plist
new file mode 100644
index 000000000000..faf33e15cebd
--- /dev/null
+++ b/databases/p5-Class-DBI-DATA-Schema/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/Class/DBI/DATA/Schema.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/DATA/Schema/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/DATA/Schema
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/DATA 2>/dev/null || true
+@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
+@unexec rmdir %D/%%SITE_PERL%%/Class/DBI/DATA 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class/DBI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true
011-03-19 20:38:54 +0800'>2011-03-191-1/+0 * Note this is GPLv3.obrien2010-08-141-0/+2 * Change my ports to use my FreeBSD.org email address.bf2010-07-081-1/+1 * - Update to 2.2miwi2010-05-032-6/+14 * - fix build for png-1.4.1dinoex2010-04-021-0/+11 * - update to 1.4.1dinoex2010-03-281-2/+2 * - update to jpeg-8dinoex2010-02-051-2/+2 * - update to jpeg7dinoex2009-07-181-1/+2 * - Update to 2.1.1miwi2009-07-082-12/+12 * - Update to 2.1pav2009-06-243-17/+22 * - Update maintainer mail adressemiwi2009-06-081-1/+1 * - Resolve LATEST_LINK conflictpav2009-06-011-0/+1 * - Update dillo2 port to 2.0 (port by [1]), connect to buildamdmi32008-11-248-203/+84 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-2/+2 * Respect the global WITHOUT_IPV6 and local WITHOUT_DILLO_IPV6.obrien2007-10-041-1/+9