diff options
author | skv <skv@FreeBSD.org> | 2004-03-30 15:50:30 +0000 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2004-03-30 15:50:30 +0000 |
commit | 4f13af8071a388bceb17c04e71144985b3a5249f (patch) | |
tree | d88378576926a2cf98c94f173606ebd74f17b4f3 /databases | |
parent | e208b0ce629a28619d77424e3b8c77274867b3ee (diff) | |
download | FreeBSD-ports-4f13af8071a388bceb17c04e71144985b3a5249f.zip FreeBSD-ports-4f13af8071a388bceb17c04e71144985b3a5249f.tar.gz |
Add p5-POE-Component-LaDBI 1.2.0,
perl extension for asynchronous
non-blocking DBI calls in POE.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-POE-Component-LaDBI/Makefile | 41 | ||||
-rw-r--r-- | databases/p5-POE-Component-LaDBI/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-POE-Component-LaDBI/files/patch-Makefile.PL | 19 | ||||
-rw-r--r-- | databases/p5-POE-Component-LaDBI/pkg-descr | 7 | ||||
-rw-r--r-- | databases/p5-POE-Component-LaDBI/pkg-plist | 12 |
6 files changed, 82 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 9968876..5396da1 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -167,6 +167,7 @@ SUBDIR += p5-Metadata SUBDIR += p5-Mysql SUBDIR += p5-Mysql-Diff + SUBDIR += p5-POE-Component-LaDBI SUBDIR += p5-Pg SUBDIR += p5-ResourcePool-Resource-DBI SUBDIR += p5-SQL-Abstract diff --git a/databases/p5-POE-Component-LaDBI/Makefile b/databases/p5-POE-Component-LaDBI/Makefile new file mode 100644 index 0000000..8418a23 --- /dev/null +++ b/databases/p5-POE-Component-LaDBI/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: POE-Component-LaDBI +# Date created: 09 February 2004 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= POE-Component-LaDBI +PORTVERSION= 1.2.0 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= POE +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= Perl extension for asynchronous non-blocking DBI calls in POE + +BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \ + ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= POE::Component::LaDBI.3 POE::Component::LaDBI::Commands.3 \ + POE::Component::LaDBI::Engine.3 \ + POE::Component::LaDBI::Request.3 \ + POE::Component::LaDBI::Response.3 + +.include <bsd.port.pre.mk> + +post-extract: + ${RM} ${WRKSRC}/*.pl + +post-patch: + @${PERL} -pi -e 's!(?=read_answer_yes\()!0 and !;' ${WRKSRC}/Makefile.PL + +.if ${PERL_LEVEL} < 500600 +IGNORE= "Perl 5.6 or newer required. Install lang/perl5.8 or lang/perl5 and try again." +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-POE-Component-LaDBI/distinfo b/databases/p5-POE-Component-LaDBI/distinfo new file mode 100644 index 0000000..243bf2f --- /dev/null +++ b/databases/p5-POE-Component-LaDBI/distinfo @@ -0,0 +1,2 @@ +MD5 (POE-Component-LaDBI-1.2.0.tar.gz) = 2de7741c35f7289b4ddb120cf1868116 +SIZE (POE-Component-LaDBI-1.2.0.tar.gz) = 24655 diff --git a/databases/p5-POE-Component-LaDBI/files/patch-Makefile.PL b/databases/p5-POE-Component-LaDBI/files/patch-Makefile.PL new file mode 100644 index 0000000..c53401f --- /dev/null +++ b/databases/p5-POE-Component-LaDBI/files/patch-Makefile.PL @@ -0,0 +1,19 @@ +--- Makefile.PL.orig Tue Mar 30 19:41:17 2004 ++++ Makefile.PL Tue Mar 30 19:42:44 2004 +@@ -9,7 +9,7 @@ + + our $BASE_CFG_FN; + our $NO_DB_TESTS_FN; +-require "ladbi_config.pl"; ++=for unused + + if (0 and read_answer_yes("Do you want to test this module against a Database?")) + { +@@ -42,6 +42,7 @@ + } + + ++=cut + + #exit 0; + diff --git a/databases/p5-POE-Component-LaDBI/pkg-descr b/databases/p5-POE-Component-LaDBI/pkg-descr new file mode 100644 index 0000000..d9863a3 --- /dev/null +++ b/databases/p5-POE-Component-LaDBI/pkg-descr @@ -0,0 +1,7 @@ +POE Component that spawns a perl subprocess to handle non-blocking +access to the DBI API. + +WWW: http://search.cpan.org/dist/POE-Component-LaDBI/ + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/databases/p5-POE-Component-LaDBI/pkg-plist b/databases/p5-POE-Component-LaDBI/pkg-plist new file mode 100644 index 0000000..4d2cc7a --- /dev/null +++ b/databases/p5-POE-Component-LaDBI/pkg-plist @@ -0,0 +1,12 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/LaDBI/.packlist +%%SITE_PERL%%/POE/Component/LaDBI.pm +%%SITE_PERL%%/POE/Component/LaDBI/Commands.pm +%%SITE_PERL%%/POE/Component/LaDBI/Engine.pm +%%SITE_PERL%%/POE/Component/LaDBI/Request.pm +%%SITE_PERL%%/POE/Component/LaDBI/Response.pm +@dirrm %%SITE_PERL%%/POE/Component/LaDBI +@unexec rmdir %D/%%SITE_PERL%%/POE/Component 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/POE 2>/dev/null || true +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/LaDBI +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true |