- Add p5-Thrift-XS 1.04

Thrift::XS provides faster versions of Thrift::BinaryProtocol and
Thrift::MemoryBuffer.

Thrift compact protocol support is also available, just replace
Thrift::XS::BinaryProtocol with Thrift::XS::CompactProtocol.

To use, simply replace your Thrift initialization code with the appropriate
Thrift::XS version.

WWW: http://search.cpan.org/dist/Thrift-XS/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-12-18 09:09:16 +00:00
parent dde7047b55
commit 97ecce930f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287579
5 changed files with 73 additions and 0 deletions

View file

@ -2538,6 +2538,7 @@
SUBDIR += p5-Thread-Queue-Duplex
SUBDIR += p5-Thread-Suspend
SUBDIR += p5-Thrift
SUBDIR += p5-Thrift-XS
SUBDIR += p5-Throwable
SUBDIR += p5-Tie-Array-Pack
SUBDIR += p5-Tie-Array-Sorted

View file

@ -0,0 +1,39 @@
# New ports collection makefile for: p5-Thrift-XS
# Date created: 2011-12-15
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Thrift-XS
PORTVERSION= 1.04
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:AGRUNDMA
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Faster Thrift binary protocol encoding and decoding
BUILD_DEPENDS= p5-Bit-Vector>=0:${PORTSDIR}/math/p5-Bit-Vector \
p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= p5-Bit-Vector>=0:${PORTSDIR}/math/p5-Bit-Vector \
p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
TEST_DEPENDS= p5-Proc-ProcessTable>=0:${PORTSDIR}/devel/p5-Proc-ProcessTable \
p5-Test-BinaryData>=0:${PORTSDIR}/devel/p5-Test-BinaryData \
p5-Test-Pod>=1.14:${PORTSDIR}/devel/p5-Test-Pod \
p5-Test-Pod-Coverage>=1.04:${PORTSDIR}/devel/p5-Test-Pod-Coverage
PERL_CONFIGURE= yes
MAN3= Thrift::XS.3 \
Thrift::XS::BinaryProtocol.3 \
Thrift::XS::CompactProtocol.3 \
Thrift::XS::MemoryBuffer.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Thrift-XS-1.04.tar.gz) = 96a9b9ce9dfc9c888e1752014666c83ef70de90e2e658baf58bd39c029369089
SIZE (Thrift-XS-1.04.tar.gz) = 79142

View file

@ -0,0 +1,10 @@
Thrift::XS provides faster versions of Thrift::BinaryProtocol and
Thrift::MemoryBuffer.
Thrift compact protocol support is also available, just replace
Thrift::XS::BinaryProtocol with Thrift::XS::CompactProtocol.
To use, simply replace your Thrift initialization code with the appropriate
Thrift::XS version.
WWW: http://search.cpan.org/dist/Thrift-XS/

View file

@ -0,0 +1,21 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/BinaryProtocol.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/BufferedTransport.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/FramedTransport.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/HttpClient.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/MemoryBuffer.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/Protocol.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/Server.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/Socket.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/Transport.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/XS.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/XS/BinaryProtocol.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/XS/CompactProtocol.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Thrift/XS/MemoryBuffer.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thrift/XS/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thrift/XS/XS.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thrift/XS/XS.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thrift/XS
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thrift
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Thrift/XS
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Thrift