From 8b913078003f56790cb7f85b625640af45f12ea2 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Thu, 20 Oct 2011 06:50:39 +0000 Subject: [PATCH] - Add p5-Geo-Coder-Many 0.28 Geo::Coder::Many provides a single interface to different remote (ie HTTP based) geocoding modules Amongst other things, Geo::Coder::Many adds geocoder precision information, alternative scheduling methods (weighted random, and ordered list), timeouts for geocoders which are failing, and optional callbacks for result filtering and picking. WWW: http://search.cpan.org/dist/Geo-Coder-Many/ --- misc/Makefile | 1 + misc/p5-Geo-Coder-Many/Makefile | 62 ++++++++++++++++++++++++++++++++ misc/p5-Geo-Coder-Many/distinfo | 2 ++ misc/p5-Geo-Coder-Many/pkg-descr | 9 +++++ misc/p5-Geo-Coder-Many/pkg-plist | 24 +++++++++++++ 5 files changed, 98 insertions(+) create mode 100644 misc/p5-Geo-Coder-Many/Makefile create mode 100644 misc/p5-Geo-Coder-Many/distinfo create mode 100644 misc/p5-Geo-Coder-Many/pkg-descr create mode 100644 misc/p5-Geo-Coder-Many/pkg-plist diff --git a/misc/Makefile b/misc/Makefile index f7dd23ebaae9..360f5b3bfc16 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -404,6 +404,7 @@ SUBDIR += p5-Geo-Coder-Bing SUBDIR += p5-Geo-Coder-Google SUBDIR += p5-Geo-Coder-Googlev3 + SUBDIR += p5-Geo-Coder-Many SUBDIR += p5-Geo-Coder-Mapquest SUBDIR += p5-Geo-Coder-Multimap SUBDIR += p5-Geo-Coder-Multiple diff --git a/misc/p5-Geo-Coder-Many/Makefile b/misc/p5-Geo-Coder-Many/Makefile new file mode 100644 index 000000000000..3289e08e45f8 --- /dev/null +++ b/misc/p5-Geo-Coder-Many/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: p5-Geo-Coder-Many +# Date created: 2011-10-13 +# Whom: Sunpoet Po-Chuan Hsieh +# +# $FreeBSD$ +# + +PORTNAME= Geo-Coder-Many +PORTVERSION= 0.28 +CATEGORIES= misc geography perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Module to tie together multiple Geo::Coder::* modules + +BUILD_DEPENDS= p5-Geo-Coder-Bing>=0.10:${PORTSDIR}/misc/p5-Geo-Coder-Bing \ + p5-Geo-Coder-Google>=0.06:${PORTSDIR}/misc/p5-Geo-Coder-Google \ + p5-Geo-Coder-Googlev3>=0.07:${PORTSDIR}/misc/p5-Geo-Coder-Googlev3 \ + p5-Geo-Coder-Mapquest>=0.04:${PORTSDIR}/misc/p5-Geo-Coder-Mapquest \ + p5-Geo-Coder-Multimap>=0.01:${PORTSDIR}/misc/p5-Geo-Coder-Multimap \ + p5-Geo-Coder-OSM>=0.01:${PORTSDIR}/misc/p5-Geo-Coder-OSM \ + p5-Geo-Coder-Ovi>=0.01:${PORTSDIR}/misc/p5-Geo-Coder-Ovi \ + p5-Geo-Coder-PlaceFinder>=0.02:${PORTSDIR}/misc/p5-Geo-Coder-PlaceFinder \ + p5-Geo-Distance-XS>=0.08:${PORTSDIR}/math/p5-Geo-Distance-XS \ + p5-HTTP-Message>=5.827:${PORTSDIR}/www/p5-HTTP-Message \ + p5-List-MoreUtils>=0.22:${PORTSDIR}/lang/p5-List-MoreUtils \ + p5-List-Util-WeightedRoundRobin>=0.4:${PORTSDIR}/misc/p5-List-Util-WeightedRoundRobin +RUN_DEPENDS:= ${BUILD_DEPENDS} + +TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \ + p5-Test-MockObject>=0:${PORTSDIR}/devel/p5-Test-MockObject \ + p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage + +PERL_CONFIGURE= 5.10.0+ + +MAN3= Geo::Coder::Many.3 \ + Geo::Coder::Many::Bing.3 \ + Geo::Coder::Many::Generic.3 \ + Geo::Coder::Many::Google.3 \ + Geo::Coder::Many::Googlev3.3 \ + Geo::Coder::Many::Mapquest.3 \ + Geo::Coder::Many::OSM.3 \ + Geo::Coder::Many::Ovi.3 \ + Geo::Coder::Many::PlaceFinder.3 \ + Geo::Coder::Many::Response.3 \ + Geo::Coder::Many::Scheduler.3 \ + Geo::Coder::Many::Scheduler::OrderedList.3 \ + Geo::Coder::Many::Scheduler::Selective.3 \ + Geo::Coder::Many::Scheduler::UniquenessScheduler.3 \ + Geo::Coder::Many::Scheduler::UniquenessScheduler::WRR.3 \ + Geo::Coder::Many::Scheduler::UniquenessScheduler::WeightedRandom.3 \ + Geo::Coder::Many::Util.3 + +.include + +.if ${PERL_LEVEL} < 501400 +BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.23:${PORTSDIR}/lang/p5-Scalar-List-Utils +RUN_DEPENDS+= p5-Scalar-List-Utils>=1.23:${PORTSDIR}/lang/p5-Scalar-List-Utils +.endif + +.include diff --git a/misc/p5-Geo-Coder-Many/distinfo b/misc/p5-Geo-Coder-Many/distinfo new file mode 100644 index 000000000000..59934421b225 --- /dev/null +++ b/misc/p5-Geo-Coder-Many/distinfo @@ -0,0 +1,2 @@ +SHA256 (Geo-Coder-Many-0.28.tar.gz) = 855fa022a505f572bd02818de238c7a73fa528db00e8938554b6b43009903713 +SIZE (Geo-Coder-Many-0.28.tar.gz) = 30967 diff --git a/misc/p5-Geo-Coder-Many/pkg-descr b/misc/p5-Geo-Coder-Many/pkg-descr new file mode 100644 index 000000000000..4e1ad1ca8817 --- /dev/null +++ b/misc/p5-Geo-Coder-Many/pkg-descr @@ -0,0 +1,9 @@ +Geo::Coder::Many provides a single interface to different remote (ie HTTP based) +geocoding modules + +Amongst other things, Geo::Coder::Many adds geocoder precision information, +alternative scheduling methods (weighted random, and ordered list), timeouts for +geocoders which are failing, and optional callbacks for result filtering and +picking. + +WWW: http://search.cpan.org/dist/Geo-Coder-Many/ diff --git a/misc/p5-Geo-Coder-Many/pkg-plist b/misc/p5-Geo-Coder-Many/pkg-plist new file mode 100644 index 000000000000..c8ee787a0f26 --- /dev/null +++ b/misc/p5-Geo-Coder-Many/pkg-plist @@ -0,0 +1,24 @@ +%%SITE_PERL%%/Geo/Coder/Many.pm +%%SITE_PERL%%/Geo/Coder/Many/Bing.pm +%%SITE_PERL%%/Geo/Coder/Many/Generic.pm +%%SITE_PERL%%/Geo/Coder/Many/Google.pm +%%SITE_PERL%%/Geo/Coder/Many/Googlev3.pm +%%SITE_PERL%%/Geo/Coder/Many/Mapquest.pm +%%SITE_PERL%%/Geo/Coder/Many/OSM.pm +%%SITE_PERL%%/Geo/Coder/Many/Ovi.pm +%%SITE_PERL%%/Geo/Coder/Many/PlaceFinder.pm +%%SITE_PERL%%/Geo/Coder/Many/Response.pm +%%SITE_PERL%%/Geo/Coder/Many/Scheduler.pm +%%SITE_PERL%%/Geo/Coder/Many/Scheduler/OrderedList.pm +%%SITE_PERL%%/Geo/Coder/Many/Scheduler/Selective.pm +%%SITE_PERL%%/Geo/Coder/Many/Scheduler/UniquenessScheduler.pm +%%SITE_PERL%%/Geo/Coder/Many/Scheduler/UniquenessScheduler/WRR.pm +%%SITE_PERL%%/Geo/Coder/Many/Scheduler/UniquenessScheduler/WeightedRandom.pm +%%SITE_PERL%%/Geo/Coder/Many/Util.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder/Many/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder/Many +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder +@dirrm %%SITE_PERL%%/Geo/Coder/Many/Scheduler/UniquenessScheduler +@dirrm %%SITE_PERL%%/Geo/Coder/Many/Scheduler +@dirrm %%SITE_PERL%%/Geo/Coder/Many +@dirrmtry %%SITE_PERL%%/Geo/Coder