From b3e24303dfc490937933df58b8ca090eb9175e9a Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Sun, 26 Dec 2010 15:26:05 +0000 Subject: SQL::Abstract::Plugin::InsertMulti is enable bulk insert support for SQL::Abstract. Declare 'use SQL::Abstract::Plugin::InsertMulti;' with 'use SQL::Abstract;', exporting insert_multi() and update_multi() methods to SQL::Abstract namespace from SQL::Abstract::Plugin::InsertMulti. Plugin system is depends on 'into' options of Sub::Exporter. WWW: http://search.cpan.org/dist/SQL-Abstract-Plugin-InsertMulti/ --- .../p5-SQL-Abstract-Plugin-InsertMulti/Makefile | 26 ++++++++++++++++++++++ .../p5-SQL-Abstract-Plugin-InsertMulti/distinfo | 2 ++ .../p5-SQL-Abstract-Plugin-InsertMulti/pkg-descr | 9 ++++++++ .../p5-SQL-Abstract-Plugin-InsertMulti/pkg-plist | 5 +++++ 4 files changed, 42 insertions(+) create mode 100644 databases/p5-SQL-Abstract-Plugin-InsertMulti/Makefile create mode 100644 databases/p5-SQL-Abstract-Plugin-InsertMulti/distinfo create mode 100644 databases/p5-SQL-Abstract-Plugin-InsertMulti/pkg-descr create mode 100644 databases/p5-SQL-Abstract-Plugin-InsertMulti/pkg-plist (limited to 'databases/p5-SQL-Abstract-Plugin-InsertMulti') diff --git a/databases/p5-SQL-Abstract-Plugin-InsertMulti/Makefile b/databases/p5-SQL-Abstract-Plugin-InsertMulti/Makefile new file mode 100644 index 000000000000..440f04fea260 --- /dev/null +++ b/databases/p5-SQL-Abstract-Plugin-InsertMulti/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: SQL::Abstract::Plugin::InsertMulti +# Date created: 26 Dec 2010 +# Whom: Jun Kuriyama +# +# $FreeBSD$ +# + +PORTNAME= SQL-Abstract-Plugin-InsertMulti +PORTVERSION= 0.03 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= Perl extension to add bulk insert for SQL::Abstract + +RUN_DEPENDS= \ + p5-SQL-Abstract>=1.6:${PORTSDIR}/databases/p5-SQL-Abstract \ + p5-Sub-Exporter>0:${PORTSDIR}/devel/p5-Sub-Exporter +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= SQL::Abstract::Plugin::InsertMulti.3 + +.include diff --git a/databases/p5-SQL-Abstract-Plugin-InsertMulti/distinfo b/databases/p5-SQL-Abstract-Plugin-InsertMulti/distinfo new file mode 100644 index 000000000000..3eae8fc74727 --- /dev/null +++ b/databases/p5-SQL-Abstract-Plugin-InsertMulti/distinfo @@ -0,0 +1,2 @@ +SHA256 (SQL-Abstract-Plugin-InsertMulti-0.03.tar.gz) = 072fac5cfca4e322ae413c6d5c14f0dd3ed361d200a494401c0d4fb450eafa68 +SIZE (SQL-Abstract-Plugin-InsertMulti-0.03.tar.gz) = 41304 diff --git a/databases/p5-SQL-Abstract-Plugin-InsertMulti/pkg-descr b/databases/p5-SQL-Abstract-Plugin-InsertMulti/pkg-descr new file mode 100644 index 000000000000..b38efc74ba93 --- /dev/null +++ b/databases/p5-SQL-Abstract-Plugin-InsertMulti/pkg-descr @@ -0,0 +1,9 @@ +SQL::Abstract::Plugin::InsertMulti is enable bulk insert support for +SQL::Abstract. Declare 'use SQL::Abstract::Plugin::InsertMulti;' with +'use SQL::Abstract;', exporting insert_multi() and update_multi() +methods to SQL::Abstract namespace from +SQL::Abstract::Plugin::InsertMulti. + +Plugin system is depends on 'into' options of Sub::Exporter. + +WWW: http://search.cpan.org/dist/SQL-Abstract-Plugin-InsertMulti/ diff --git a/databases/p5-SQL-Abstract-Plugin-InsertMulti/pkg-plist b/databases/p5-SQL-Abstract-Plugin-InsertMulti/pkg-plist new file mode 100644 index 000000000000..0e7d13396620 --- /dev/null +++ b/databases/p5-SQL-Abstract-Plugin-InsertMulti/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL/Abstract/Plugin/InsertMulti/.packlist +%%SITE_PERL%%/SQL/Abstract/Plugin/InsertMulti.pm +@dirrmtry %%SITE_PERL%%/SQL/Abstract/Plugin +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL/Abstract/Plugin/InsertMulti +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SQL/Abstract/Plugin -- cgit v1.2.3