Sat May 1 02:49:10 2010 UTC ()
Import libthrift version 0.2.0.
Thrift is a software framework for scalable cross-language services
development. It combines a software stack with a code generation engine to
build services that work efficiently and seamlessly between C++, Java,
Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
(tonnerre)
diff -r0 -r1.1.1.1 pkgsrc/devel/libthrift/Makefile
diff -r0 -r1.1.1.1 pkgsrc/devel/libthrift/DESCR
diff -r0 -r1.1.1.1 pkgsrc/devel/libthrift/distinfo
diff -r0 -r1.1.1.1 pkgsrc/devel/libthrift/PLIST
diff -r0 -r1.1.1.1 pkgsrc/devel/libthrift/buildlink3.mk
diff -r0 -r1.1.1.1 pkgsrc/devel/libthrift/options.mk
# $NetBSD: Makefile,v 1.1.1.1 2010/05/01 02:49:10 tonnerre Exp $
DISTNAME= thrift-${THRIFT_VERSION}-incubating
PKGNAME= libthrift-${THRIFT_VERSION}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE:=incubator/thrift/${THRIFT_VERSION}-incubating/}
MAINTAINER= tonnerre@NetBSD.org
HOMEPAGE= http://incubator.apache.org/thrift/
COMMENT= Cross-language data serialization library
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/thrift-${THRIFT_VERSION}
THRIFT_VERSION= 0.2.0
# FIXME: These should be options
CONFIGURE_ARGS+= --without-csharp
CONFIGURE_ARGS+= --without-java
CONFIGURE_ARGS+= --without-erlang
CONFIGURE_ARGS+= --without-py
CONFIGURE_ARGS+= --without-perl
CONFIGURE_ARGS+= --without-ruby
.include "options.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/libevent/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Thrift is a software framework for scalable cross-language services
development. It combines a software stack with a code generation engine to
build services that work efficiently and seamlessly between C++, Java,
Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml.
$NetBSD: distinfo,v 1.1.1.1 2010/05/01 02:49:10 tonnerre Exp $
SHA1 (thrift-0.2.0-incubating.tar.gz) = 1f622daab73043b253e416ff8afbf5a459d3ab48
RMD160 (thrift-0.2.0-incubating.tar.gz) = 235a3bbaccd6cf221a32af5905b7d102907881f8
Size (thrift-0.2.0-incubating.tar.gz) = 1514845 bytes
@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/01 02:49:10 tonnerre Exp $
bin/thrift
include/thrift/TLogging.h
include/thrift/TProcessor.h
include/thrift/TReflectionLocal.h
include/thrift/Thrift.h
include/thrift/concurrency/Exception.h
include/thrift/concurrency/FunctionRunner.h
include/thrift/concurrency/Monitor.h
include/thrift/concurrency/Mutex.h
include/thrift/concurrency/PosixThreadFactory.h
include/thrift/concurrency/Thread.h
include/thrift/concurrency/ThreadManager.h
include/thrift/concurrency/TimerManager.h
include/thrift/concurrency/Util.h
include/thrift/config.h
include/thrift/processor/PeekProcessor.h
include/thrift/processor/StatsProcessor.h
include/thrift/protocol/TBase64Utils.h
include/thrift/protocol/TBinaryProtocol.h
include/thrift/protocol/TCompactProtocol.h
include/thrift/protocol/TDebugProtocol.h
include/thrift/protocol/TDenseProtocol.h
include/thrift/protocol/TJSONProtocol.h
include/thrift/protocol/TOneWayProtocol.h
include/thrift/protocol/TProtocol.h
include/thrift/protocol/TProtocolException.h
include/thrift/protocol/TProtocolTap.h
include/thrift/server/TNonblockingServer.h
include/thrift/server/TServer.h
include/thrift/server/TSimpleServer.h
include/thrift/server/TThreadPoolServer.h
include/thrift/server/TThreadedServer.h
include/thrift/transport/TBufferTransports.h
include/thrift/transport/TFDTransport.h
include/thrift/transport/TFileTransport.h
include/thrift/transport/THttpClient.h
include/thrift/transport/TServerSocket.h
include/thrift/transport/TServerTransport.h
include/thrift/transport/TShortReadTransport.h
include/thrift/transport/TSimpleFileTransport.h
include/thrift/transport/TSocket.h
include/thrift/transport/TSocketPool.h
include/thrift/transport/TTransport.h
include/thrift/transport/TTransportException.h
include/thrift/transport/TTransportUtils.h
include/thrift/transport/TZlibTransport.h
lib/libthrift.la
lib/libthriftnb.la
lib/libthriftz.la
${PLIST.perl}lib/perl5/site_perl/5.10.0/Thrift.pm
${PLIST.perl}lib/perl5/site_perl/5.10.0/Thrift/BinaryProtocol.pm
${PLIST.perl}lib/perl5/site_perl/5.10.0/Thrift/BufferedTransport.pm
${PLIST.perl}lib/perl5/site_perl/5.10.0/Thrift/FramedTransport.pm
${PLIST.perl}lib/perl5/site_perl/5.10.0/Thrift/HttpClient.pm
${PLIST.perl}lib/perl5/site_perl/5.10.0/Thrift/MemoryBuffer.pm
${PLIST.perl}lib/perl5/site_perl/5.10.0/Thrift/Protocol.pm
${PLIST.perl}lib/perl5/site_perl/5.10.0/Thrift/Server.pm
${PLIST.perl}lib/perl5/site_perl/5.10.0/Thrift/Socket.pm
${PLIST.perl}lib/perl5/site_perl/5.10.0/Thrift/Transport.pm
${PLIST.perl}lib/perl5/site_perl/5.10.0/x86_64-netbsd-thread-multi/auto/Thrift/.packlist
lib/pkgconfig/thrift-nb.pc
lib/pkgconfig/thrift-z.pc
lib/pkgconfig/thrift.pc
# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/05/01 02:49:10 tonnerre Exp $
BUILDLINK_TREE+= libthrift
.if !defined(LIBTHRIFT_BUILDLINK3_MK)
LIBTHRIFT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libthrift+= libthrift>=0.2.0
BUILDLINK_ABI_DEPENDS.libthrift+= libthrift>=0.2.0
BUILDLINK_PKGSRCDIR.libthrift?= ../../devel/libthrift
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/libevent/buildlink3.mk"
.endif # LIBTHRIFT_BUILDLINK3_MK
BUILDLINK_TREE+= -libthrift
# $NetBSD: options.mk,v 1.1.1.1 2010/05/01 02:49:10 tonnerre Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libthrift
PKG_SUPPORTED_OPTIONS= csharp java erlang python perl ruby
.include "../../mk/bsd.options.mk"
PLIST_VARS+= perl
.if !empty(PKG_OPTIONS:Mcsharp)
CONFIGURE_ARGS+= --with-csharp
CONFIGURE_ARGS+= --enable-gen-csharp
.include "../../lang/mono/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-csharp
CONFIGURE_ARGS+= --disable-gen-csharp
.endif
.if !empty(PKG_OPTIONS:Mjava)
CONFIGURE_ARGS+= --with-java
CONFIGURE_ARGS+= --enable-gen-java
.include "../../lang/openjdk7/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-java
CONFIGURE_ARGS+= --disable-gen-java
.endif
.if !empty(PKG_OPTIONS:Merlang)
CONFIGURE_ARGS+= --with-erlang
CONFIGURE_ARGS+= --enable-gen-erl
.include "../../lang/erlang/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-erlang
CONFIGURE_ARGS+= --disable-gen-erl
.endif
.if !empty(PKG_OPTIONS:Mpython)
CONFIGURE_ARGS+= --with-py
CONFIGURE_ARGS+= --enable-gen-py
.include "../../lang/python/extension.mk"
.else
CONFIGURE_ARGS+= --without-py
CONFIGURE_ARGS+= --disable-gen-py
.endif
.if !empty(PKG_OPTIONS:Mperl)
CONFIGURE_ARGS+= --with-perl
CONFIGURE_ARGS+= --enable-gen-perl
USE_TOOLS+= perl
PLIST.perl= yes
.include "../../lang/perl5/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-perl
CONFIGURE_ARGS+= --disable-gen-perl
.endif
.if !empty(PKG_OPTIONS:Mruby)
CONFIGURE_ARGS+= --with-ruby
CONFIGURE_ARGS+= --enable-gen-rb
.include "../../lang/ruby/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-ruby
CONFIGURE_ARGS+= --disable-gen-rb
.endif