Add p5-MaxMind-DB-Reader-XS 1.000006

Simply installing this module causes MaxMind::DB::Reader to use the XS
implementation, which is much faster than the Perl implementation. The XS
implementation links against the libmaxminddb library. See MaxMind::DB::Reader
for API details.

WWW: https://metacpan.org/release/MaxMind-DB-Reader-XS
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-10-16 20:03:29 +00:00
parent 7229a2b335
commit 05c9137e20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482242
5 changed files with 50 additions and 0 deletions

View File

@ -635,6 +635,7 @@
SUBDIR += p5-Kafka
SUBDIR += p5-MaxMind-DB-Common
SUBDIR += p5-MaxMind-DB-Reader
SUBDIR += p5-MaxMind-DB-Reader-XS
SUBDIR += p5-MaxMind-DB-Writer
SUBDIR += p5-Net
SUBDIR += p5-Net-ACME2

View File

@ -0,0 +1,37 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= MaxMind-DB-Reader-XS
PORTVERSION= 1.000006
CATEGORIES= net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MAXMIND
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Fast XS implementation of MaxMind DB reader
LICENSE= ART20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
RUN_DEPENDS= p5-MaxMind-DB-Common>=0.040001:net/p5-MaxMind-DB-Common \
p5-MaxMind-DB-Reader>=1.000012:net/p5-MaxMind-DB-Reader \
p5-Moo>=0:devel/p5-Moo \
p5-namespace-autoclean>=0:devel/p5-namespace-autoclean
TEST_DEPENDS= p5-Math-Int128>=0:math/p5-Math-Int128 \
p5-Module-Implementation>=0:devel/p5-Module-Implementation \
p5-Net-Works>=0.21:net/p5-Net-Works \
p5-Path-Class>=0.27:devel/p5-Path-Class \
p5-Test-Fatal>=0:devel/p5-Test-Fatal \
p5-Test-Number-Delta>=0:devel/p5-Test-Number-Delta \
p5-Test-Requires>=0:devel/p5-Test-Requires
USES= perl5
USE_PERL5= modbuild
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/MaxMind/DB/Reader/XS/XS.so
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1539713805
SHA256 (MaxMind-DB-Reader-XS-1.000006.tar.gz) = a30975b9dec68eb62a652c77c70d04e62bf6d6884be068c02f9531c88b6d75ba
SIZE (MaxMind-DB-Reader-XS-1.000006.tar.gz) = 355446

View File

@ -0,0 +1,6 @@
Simply installing this module causes MaxMind::DB::Reader to use the XS
implementation, which is much faster than the Perl implementation. The XS
implementation links against the libmaxminddb library. See MaxMind::DB::Reader
for API details.
WWW: https://metacpan.org/release/MaxMind-DB-Reader-XS

View File

@ -0,0 +1,3 @@
%%SITE_ARCH%%/MaxMind/DB/Reader/XS.pm
%%SITE_ARCH%%/auto/MaxMind/DB/Reader/XS/XS.so
%%PERL5_MAN3%%/MaxMind::DB::Reader::XS.3.gz