diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2010-10-17 00:45:25 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2010-10-17 00:45:25 +0000 |
commit | 714653ca9c9005979f734b62b953a2aaaf184f41 (patch) | |
tree | 9037650e8d9c6a7c9cc2a0394928018145c3d946 /databases | |
parent | ab21e7d02e0d04f2f6b4c54908aecf6fd09cb7a4 (diff) | |
download | ports-714653ca9c9005979f734b62b953a2aaaf184f41.tar.gz ports-714653ca9c9005979f734b62b953a2aaaf184f41.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-DBIx-DBHResolver/Makefile | 37 | ||||
-rw-r--r-- | databases/p5-DBIx-DBHResolver/distinfo | 3 | ||||
-rw-r--r-- | databases/p5-DBIx-DBHResolver/pkg-descr | 10 | ||||
-rw-r--r-- | databases/p5-DBIx-DBHResolver/pkg-plist | 12 |
5 files changed, 63 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index ebd41ecb8362..0cb13cf7225e 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -353,6 +353,7 @@ SUBDIR += p5-DBIx-Connector SUBDIR += p5-DBIx-ContextualFetch SUBDIR += p5-DBIx-Custom + SUBDIR += p5-DBIx-DBHResolver SUBDIR += p5-DBIx-DBSchema SUBDIR += p5-DBIx-DataSource SUBDIR += p5-DBIx-Ease diff --git a/databases/p5-DBIx-DBHResolver/Makefile b/databases/p5-DBIx-DBHResolver/Makefile new file mode 100644 index 000000000000..e7eb852164c9 --- /dev/null +++ b/databases/p5-DBIx-DBHResolver/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: DBIx::DBHResolver +# Date created: 16 Oct 2010 +# Whom: Jun Kuriyama <kuriyama@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= DBIx-DBHResolver +PORTVERSION= 0.13 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= Perl extension to resolve DB connection with many database servers + +RUN_DEPENDS= \ + p5-Class-Accessor>0:${PORTSDIR}/devel/p5-Class-Accessor \ + p5-Config-Any>0:${PORTSDIR}/devel/p5-Config-Any \ + p5-DBI>0:${PORTSDIR}/databases/p5-DBI \ + p5-Data-Util>0:${PORTSDIR}/devel/p5-Data-Util \ + p5-Hash-Merge-Simple>0:${PORTSDIR}/devel/p5-Hash-Merge-Simple \ + p5-Try-Tiny>0:${PORTSDIR}/lang/p5-Try-Tiny \ + p5-UNIVERSAL-require>0:${PORTSDIR}/devel/p5-UNIVERSAL-require \ + p5-YAML>0:${PORTSDIR}/textproc/p5-YAML +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= DBIx::DBHResolver.3 \ + DBIx::DBHResolver::Strategy.3 \ + DBIx::DBHResolver::Strategy::Key.3 \ + DBIx::DBHResolver::Strategy::List.3 \ + DBIx::DBHResolver::Strategy::Range.3 \ + DBIx::DBHResolver::Strategy::Remainder.3 + +.include <bsd.port.mk> diff --git a/databases/p5-DBIx-DBHResolver/distinfo b/databases/p5-DBIx-DBHResolver/distinfo new file mode 100644 index 000000000000..9a9fbe304bfc --- /dev/null +++ b/databases/p5-DBIx-DBHResolver/distinfo @@ -0,0 +1,3 @@ +MD5 (DBIx-DBHResolver-0.13.tar.gz) = b244a4ad405ceaee97e8c87ae4157166 +SHA256 (DBIx-DBHResolver-0.13.tar.gz) = 6b8570e61caf60673715f118a29b7acad94b5e019ab0781e35b583ba9931864c +SIZE (DBIx-DBHResolver-0.13.tar.gz) = 55142 diff --git a/databases/p5-DBIx-DBHResolver/pkg-descr b/databases/p5-DBIx-DBHResolver/pkg-descr new file mode 100644 index 000000000000..6ce55023173b --- /dev/null +++ b/databases/p5-DBIx-DBHResolver/pkg-descr @@ -0,0 +1,10 @@ +DBIx::DBHResolver resolves database connection on the environment has +many database servers. The resolution algorithm is extensible and +pluggable, because of this you can make custom strategy module easily. + +This module can retrieve DBI's database handle object or connection +information (data source, user, credential...) by labeled name and +treat same cluster consists many nodes as one labeled name, choose +fetching strategy. + +WWW: http://search.cpan.org/dist/DBIx-DBHResolver/ diff --git a/databases/p5-DBIx-DBHResolver/pkg-plist b/databases/p5-DBIx-DBHResolver/pkg-plist new file mode 100644 index 000000000000..eeaa4063acfd --- /dev/null +++ b/databases/p5-DBIx-DBHResolver/pkg-plist @@ -0,0 +1,12 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/DBHResolver/.packlist +%%SITE_PERL%%/DBIx/DBHResolver.pm +%%SITE_PERL%%/DBIx/DBHResolver/Strategy.pm +%%SITE_PERL%%/DBIx/DBHResolver/Strategy/Key.pm +%%SITE_PERL%%/DBIx/DBHResolver/Strategy/List.pm +%%SITE_PERL%%/DBIx/DBHResolver/Strategy/Range.pm +%%SITE_PERL%%/DBIx/DBHResolver/Strategy/Remainder.pm +@dirrm %%SITE_PERL%%/DBIx/DBHResolver/Strategy +@dirrm %%SITE_PERL%%/DBIx/DBHResolver +@dirrmtry %%SITE_PERL%%/DBIx +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/DBHResolver +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx |