fcambus 8db3ac0ab3 Import net/p5-GeoIP2.
This module 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.

OK giovanni@
2019-02-20 08:46:06 +00:00

42 lines
860 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2019/02/20 08:46:06 fcambus Exp $
COMMENT = Perl API for MaxMind's GeoIP2 web services and databases
DISTNAME = GeoIP2-2.006001
CATEGORIES = net
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM = Yes
MODULES = cpan
RUN_DEPENDS = converters/p5-JSON-MaybeXS \
devel/p5-Data-Validate-IP>=0.25 \
devel/p5-Moo \
devel/p5-Params-Validate \
devel/p5-Sub-Quote \
devel/p5-Throwable \
devel/p5-Try-Tiny \
devel/p5-namespace-clean \
net/p5-MaxMind-DB-Reader>=1.0 \
textproc/p5-List-SomeUtils \
www/p5-HTTP-Message \
www/p5-LWP-Protocol-https \
www/p5-URI \
www/p5-libwww
TEST_DEPENDS = devel/p5-Path-Class \
devel/p5-Test-Fatal \
devel/p5-Test-Number-Delta \
net/p5-MaxMind-DB-Common \
www/p5-HTTP-Message
PKG_ARCH = *
CPAN_AUTHOR = MAXMIND
.include <bsd.port.mk>