diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-02-20 01:25:31 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-02-20 01:25:31 +0800 |
commit | 84c487f41e67e643d4b76cffc04a71653f7d0104 (patch) | |
tree | 1bf332193975ffa14e523eff22f2f3e98293977b /net | |
parent | 1720fad5f602193dddaa0f6e0e9433dc8bd2853b (diff) | |
download | freebsd-ports-gnome-84c487f41e67e643d4b76cffc04a71653f7d0104.tar.gz freebsd-ports-gnome-84c487f41e67e643d4b76cffc04a71653f7d0104.tar.zst freebsd-ports-gnome-84c487f41e67e643d4b76cffc04a71653f7d0104.zip |
- Add p5-GeoIP2 0.040002
This distribution provides an API for the GeoIP2 web services and databases. The
API also works with the free GeoLite2 databases.
See GeoIP2::WebService::Client for details on the web service client API and
GeoIP2::Database::Reader for the database API.
WWW: http://search.cpan.org/dist/GeoIP2/
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/p5-GeoIP2/Makefile | 37 | ||||
-rw-r--r-- | net/p5-GeoIP2/distinfo | 2 | ||||
-rw-r--r-- | net/p5-GeoIP2/pkg-descr | 7 | ||||
-rw-r--r-- | net/p5-GeoIP2/pkg-plist | 62 |
5 files changed, 109 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index fa1df5e239d8..3e29c5a07a18 100644 --- a/net/Makefile +++ b/net/Makefile @@ -526,6 +526,7 @@ SUBDIR += p5-Geo-IP SUBDIR += p5-Geo-IP-PurePerl SUBDIR += p5-Geo-IPfree + SUBDIR += p5-GeoIP2 SUBDIR += p5-Google-SAML-Request SUBDIR += p5-Google-SAML-Response SUBDIR += p5-Growl-GNTP diff --git a/net/p5-GeoIP2/Makefile b/net/p5-GeoIP2/Makefile new file mode 100644 index 000000000000..b018106348bc --- /dev/null +++ b/net/p5-GeoIP2/Makefile @@ -0,0 +1,37 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= GeoIP2 +PORTVERSION= 0.040.002 +CATEGORIES= net perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:DROLSKY +PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Perl API for MaxMind GeoIP2 web services and databases + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Data-Validate-IP>=0.19:${PORTSDIR}/net-mgmt/p5-Data-Validate-IP \ + p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ + p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https \ + p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \ + p5-MaxMind-DB-Reader>=0:${PORTSDIR}/net/p5-MaxMind-DB-Reader \ + p5-Moo>=0:${PORTSDIR}/devel/p5-Moo \ + p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \ + p5-Throwable>=0:${PORTSDIR}/devel/p5-Throwable \ + p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \ + p5-URI>=0:${PORTSDIR}/net/p5-URI \ + p5-libwww>=0:${PORTSDIR}/www/p5-libwww +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \ + p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \ + p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal + +USE_PERL5= configure +USES= perl5 + +.include <bsd.port.mk> diff --git a/net/p5-GeoIP2/distinfo b/net/p5-GeoIP2/distinfo new file mode 100644 index 000000000000..baae827836d0 --- /dev/null +++ b/net/p5-GeoIP2/distinfo @@ -0,0 +1,2 @@ +SHA256 (GeoIP2-0.040002.tar.gz) = 570545d8049a85cb66f012001e7eeaaedb431a26be1ac831c1691ffadd85c099 +SIZE (GeoIP2-0.040002.tar.gz) = 68853 diff --git a/net/p5-GeoIP2/pkg-descr b/net/p5-GeoIP2/pkg-descr new file mode 100644 index 000000000000..1d6f77963a09 --- /dev/null +++ b/net/p5-GeoIP2/pkg-descr @@ -0,0 +1,7 @@ +This distribution provides an API for the GeoIP2 web services and databases. The +API also works with the free GeoLite2 databases. + +See GeoIP2::WebService::Client for details on the web service client API and +GeoIP2::Database::Reader for the database API. + +WWW: http://search.cpan.org/dist/GeoIP2/ diff --git a/net/p5-GeoIP2/pkg-plist b/net/p5-GeoIP2/pkg-plist new file mode 100644 index 000000000000..e44138fd6701 --- /dev/null +++ b/net/p5-GeoIP2/pkg-plist @@ -0,0 +1,62 @@ +bin/web-service-request +%%SITE_PERL%%/GeoIP2.pm +%%SITE_PERL%%/GeoIP2/Database/Reader.pm +%%SITE_PERL%%/GeoIP2/Error/Generic.pm +%%SITE_PERL%%/GeoIP2/Error/HTTP.pm +%%SITE_PERL%%/GeoIP2/Error/IPAddressNotFound.pm +%%SITE_PERL%%/GeoIP2/Error/Type.pm +%%SITE_PERL%%/GeoIP2/Error/WebService.pm +%%SITE_PERL%%/GeoIP2/Model/City.pm +%%SITE_PERL%%/GeoIP2/Model/CityISPOrg.pm +%%SITE_PERL%%/GeoIP2/Model/Country.pm +%%SITE_PERL%%/GeoIP2/Model/Omni.pm +%%SITE_PERL%%/GeoIP2/Record/City.pm +%%SITE_PERL%%/GeoIP2/Record/Continent.pm +%%SITE_PERL%%/GeoIP2/Record/Country.pm +%%SITE_PERL%%/GeoIP2/Record/Location.pm +%%SITE_PERL%%/GeoIP2/Record/MaxMind.pm +%%SITE_PERL%%/GeoIP2/Record/Postal.pm +%%SITE_PERL%%/GeoIP2/Record/RepresentedCountry.pm +%%SITE_PERL%%/GeoIP2/Record/Subdivision.pm +%%SITE_PERL%%/GeoIP2/Record/Traits.pm +%%SITE_PERL%%/GeoIP2/Role/Error/HTTP.pm +%%SITE_PERL%%/GeoIP2/Role/HasLocales.pm +%%SITE_PERL%%/GeoIP2/Role/Model.pm +%%SITE_PERL%%/GeoIP2/Role/Model/HasSubdivisions.pm +%%SITE_PERL%%/GeoIP2/Role/Record/Country.pm +%%SITE_PERL%%/GeoIP2/Role/Record/HasNames.pm +%%SITE_PERL%%/GeoIP2/Types.pm +%%SITE_PERL%%/GeoIP2/WebService/Client.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/GeoIP2/.packlist +%%PERL5_MAN3%%/GeoIP2.3.gz +%%PERL5_MAN3%%/GeoIP2::Database::Reader.3.gz +%%PERL5_MAN3%%/GeoIP2::Error::Generic.3.gz +%%PERL5_MAN3%%/GeoIP2::Error::HTTP.3.gz +%%PERL5_MAN3%%/GeoIP2::Error::IPAddressNotFound.3.gz +%%PERL5_MAN3%%/GeoIP2::Error::Type.3.gz +%%PERL5_MAN3%%/GeoIP2::Error::WebService.3.gz +%%PERL5_MAN3%%/GeoIP2::Model::City.3.gz +%%PERL5_MAN3%%/GeoIP2::Model::CityISPOrg.3.gz +%%PERL5_MAN3%%/GeoIP2::Model::Country.3.gz +%%PERL5_MAN3%%/GeoIP2::Model::Omni.3.gz +%%PERL5_MAN3%%/GeoIP2::Record::City.3.gz +%%PERL5_MAN3%%/GeoIP2::Record::Continent.3.gz +%%PERL5_MAN3%%/GeoIP2::Record::Country.3.gz +%%PERL5_MAN3%%/GeoIP2::Record::Location.3.gz +%%PERL5_MAN3%%/GeoIP2::Record::MaxMind.3.gz +%%PERL5_MAN3%%/GeoIP2::Record::Postal.3.gz +%%PERL5_MAN3%%/GeoIP2::Record::RepresentedCountry.3.gz +%%PERL5_MAN3%%/GeoIP2::Record::Subdivision.3.gz +%%PERL5_MAN3%%/GeoIP2::Record::Traits.3.gz +%%PERL5_MAN3%%/GeoIP2::WebService::Client.3.gz +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/GeoIP2 +@dirrm %%SITE_PERL%%/GeoIP2/WebService +@dirrm %%SITE_PERL%%/GeoIP2/Role/Record +@dirrm %%SITE_PERL%%/GeoIP2/Role/Model +@dirrm %%SITE_PERL%%/GeoIP2/Role/Error +@dirrm %%SITE_PERL%%/GeoIP2/Role +@dirrm %%SITE_PERL%%/GeoIP2/Record +@dirrm %%SITE_PERL%%/GeoIP2/Model +@dirrm %%SITE_PERL%%/GeoIP2/Error +@dirrm %%SITE_PERL%%/GeoIP2/Database +@dirrmtry %%SITE_PERL%%/GeoIP2 |