diff options
author | mat <mat@FreeBSD.org> | 2003-10-03 21:17:17 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2003-10-03 21:17:17 +0800 |
commit | 8eecc2aeb2a0bbb9aa1bc9803031f1148acc9320 (patch) | |
tree | b732f62fcbcf9ca0645d18d2a9072253efc393d9 /databases | |
parent | 504e9a81f969dd713c1977117c4598f77dee8b3a (diff) | |
download | freebsd-ports-graphics-8eecc2aeb2a0bbb9aa1bc9803031f1148acc9320.tar.gz freebsd-ports-graphics-8eecc2aeb2a0bbb9aa1bc9803031f1148acc9320.tar.zst freebsd-ports-graphics-8eecc2aeb2a0bbb9aa1bc9803031f1148acc9320.zip |
Add p5-Class-DBI-ToSax 0.09, extension to Class::DBI for sqlite.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-Class-DBI-ToSax/Makefile | 39 | ||||
-rw-r--r-- | databases/p5-Class-DBI-ToSax/distinfo | 1 | ||||
-rw-r--r-- | databases/p5-Class-DBI-ToSax/pkg-descr | 3 | ||||
-rw-r--r-- | databases/p5-Class-DBI-ToSax/pkg-plist | 7 |
5 files changed, 51 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index cd57c6959cf..f46d84fe931 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 00000000000..c58b7580848 --- /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 00000000000..91fe46faf72 --- /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 00000000000..7e12198c7f0 --- /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 00000000000..a06e7a39fe8 --- /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 |