aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2003-10-03 13:17:17 +0000
committerMathieu Arnold <mat@FreeBSD.org>2003-10-03 13:17:17 +0000
commitd7b6cccf75db29b87c0d5be060ab5d08020a9858 (patch)
tree1a9fc6b803c32855fefc5fa52da1eec9bbaf446b /databases
parent0e78f2abe294f40c373343e0af27217db7e6be61 (diff)
downloadports-d7b6cccf75db29b87c0d5be060ab5d08020a9858.tar.gz
ports-d7b6cccf75db29b87c0d5be060ab5d08020a9858.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-Class-DBI-ToSax/Makefile39
-rw-r--r--databases/p5-Class-DBI-ToSax/distinfo1
-rw-r--r--databases/p5-Class-DBI-ToSax/pkg-descr3
-rw-r--r--databases/p5-Class-DBI-ToSax/pkg-plist7
5 files changed, 51 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index cd57c6959cf7..f46d84fe931e 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -98,6 +98,7 @@
SUBDIR += p5-Class-DBI-SAK
SUBDIR += p5-Class-DBI-SQLite
SUBDIR += p5-Data-Page
+ SUBDIR += p5-Class-DBI-ToSax
SUBDIR += p5-Class-DBI-mysql
SUBDIR += p5-DBD-CSV
SUBDIR += p5-DBD-Excel
diff --git a/databases/p5-Class-DBI-ToSax/Makefile b/databases/p5-Class-DBI-ToSax/Makefile
new file mode 100644
index 000000000000..c58b75808484
--- /dev/null
+++ b/databases/p5-Class-DBI-ToSax/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: p5-Class-DBI-ToSax
+# Date created: 22 july 2003
+# Whom: Mathieu Arnold <mat@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-DBI-ToSax
+PORTVERSION= 0.09
+CATEGORIES= databases textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= Extension to Class::DBI for sqlite
+
+RUN_DEPENDS= ${SITE_PERL}/Ima/DBI.pm:${PORTSDIR}/databases/p5-Ima-DBI \
+ ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
+ ${SITE_PERL}/XML/SAX/Writer.pm:${PORTSDIR}/textproc/p5-XML-SAX-Writer \
+ ${SITE_PERL}/NEXT.pm:${PORTSDIR}/devel/p5-NEXT
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::DBI::ToSax.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+# I really begin to hate either perl programmers or 5.005_03 ;)
+post-patch:
+ @${PERL} -pi -e '$$_ = "" if (/use 5.006|use warnings/);' \
+ -e 's/^our ([^\s;]+)/use vars qw($$1); $$1/;' \
+ -e 's/\$$self->\$$col/$$&()/g;' \
+ ${WRKSRC}/lib/Class/DBI/ToSax.pm ${WRKSRC}/Makefile.PL
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/p5-Class-DBI-ToSax/distinfo b/databases/p5-Class-DBI-ToSax/distinfo
new file mode 100644
index 000000000000..91fe46faf72b
--- /dev/null
+++ b/databases/p5-Class-DBI-ToSax/distinfo
@@ -0,0 +1 @@
+MD5 (Class-DBI-ToSax-0.09.tar.gz) = a187a8fa57bbd5a542aff153823f9324
diff --git a/databases/p5-Class-DBI-ToSax/pkg-descr b/databases/p5-Class-DBI-ToSax/pkg-descr
new file mode 100644
index 000000000000..7e12198c7f0d
--- /dev/null
+++ b/databases/p5-Class-DBI-ToSax/pkg-descr
@@ -0,0 +1,3 @@
+
+
+WWW: http://search.cpan.org/dist/Class-DBI-ToSax/
diff --git a/databases/p5-Class-DBI-ToSax/pkg-plist b/databases/p5-Class-DBI-ToSax/pkg-plist
new file mode 100644
index 000000000000..a06e7a39fe8c
--- /dev/null
+++ b/databases/p5-Class-DBI-ToSax/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Class/DBI/ToSax.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/ToSax/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/ToSax
+@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 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true