mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
devel/thrift-cpp: C++ interface to Thrift
WWW: http://thrift.apache.org/ PR: ports/183060 Submitted by: Valery Komarov <komarov valerka.net>
This commit is contained in:
parent
529d44f327
commit
9f15a9fb93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333297
@ -4431,6 +4431,7 @@
|
||||
SUBDIR += tex-kpathsea
|
||||
SUBDIR += tex-web2c
|
||||
SUBDIR += thrift
|
||||
SUBDIR += thrift-cpp
|
||||
SUBDIR += thunar-vcs-plugin
|
||||
SUBDIR += tide
|
||||
SUBDIR += tig
|
||||
|
77
devel/thrift-cpp/Makefile
Normal file
77
devel/thrift-cpp/Makefile
Normal file
@ -0,0 +1,77 @@
|
||||
# Created by: Valery Komarov <komarov@valerka.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= thrift
|
||||
PORTVERSION= ${THRIFT_PORTVERSION} # to keep in sync with thrift
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= komarov@valerka.net
|
||||
COMMENT= C++ interface to Thrift
|
||||
|
||||
PKGNAMESUFFIX= -cpp
|
||||
|
||||
MASTER_SITES= APACHE
|
||||
MASTER_SITE_SUBDIR= thrift/${PORTVERSION}
|
||||
DISTNAME= thrift-${PORTVERSION}
|
||||
DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo
|
||||
|
||||
LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs \
|
||||
libevent-1.4.so:${PORTSDIR}/devel/libevent
|
||||
|
||||
BUILDIR= ${WRKDIR}/${DISTNAME}/lib/cpp
|
||||
|
||||
USE_AUTOTOOLS= autoconf autoheader:env aclocal automake libtool
|
||||
ACLOCAL_ARGS= -I${WRKSRC}/aclocal
|
||||
AUTOMAKE_ARGS= --foreign --add-missing --copy
|
||||
|
||||
USES= pkgconfig gmake compiler
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
PLIST_SUB= PORTVERSION="${THRIFT_PORTVERSION}"
|
||||
|
||||
OPTIONS_DEFINE= QT4
|
||||
QT4_CONFIGURE_WITH= qt4
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--without-c_glib \
|
||||
--with-cpp \
|
||||
--without-csharp \
|
||||
--without-erlang \
|
||||
--without-haskell \
|
||||
--without-java \
|
||||
--without-perl \
|
||||
--without-php \
|
||||
--without-php_extension \
|
||||
--without-python \
|
||||
--without-ruby
|
||||
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${COMPILER_TYPE} == clang
|
||||
USE_CXXSTD= c++11
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MQT4}
|
||||
USE_QT4= network moc_build qmake_build rcc_build uic_build
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/cpp/Makefile.am
|
||||
|
||||
post-install:
|
||||
@${LN} -sf ${PREFIX}/lib/libthrift-${PORTVERSION}.so ${PREFIX}/lib/libthrift.so.0
|
||||
@${LN} -sf ${PREFIX}/lib/libthriftnb-${PORTVERSION}.so ${PREFIX}/lib/libthriftnb.so.0
|
||||
@${LN} -sf ${PREFIX}/lib/libthriftz-${PORTVERSION}.so ${PREFIX}/lib/libthriftz.so.0
|
||||
.if ${PORT_OPTIONS:MQT4}
|
||||
@${LN} -sf ${PREFIX}/lib/libthriftqt-${PORTVERSION}.so ${PREFIX}/lib/libthriftqt.so.0
|
||||
.endif
|
||||
|
||||
.include "../thrift/bsd.thrift.mk"
|
||||
.include <bsd.port.mk>
|
@ -0,0 +1,11 @@
|
||||
--- ./lib/cpp/src/thrift/protocol/TBinaryProtocol.tcc.orig 2013-08-15 18:04:29.000000000 +0400
|
||||
+++ ./lib/cpp/src/thrift/protocol/TBinaryProtocol.tcc 2013-10-16 01:15:53.000000000 +0400
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <thrift/protocol/TBinaryProtocol.h>
|
||||
|
||||
#include <limits>
|
||||
-
|
||||
+#include <netinet/in.h>
|
||||
|
||||
namespace apache { namespace thrift { namespace protocol {
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- ./lib/cpp/src/thrift/server/TNonblockingServer.h.orig 2013-08-15 18:04:29.000000000 +0400
|
||||
+++ ./lib/cpp/src/thrift/server/TNonblockingServer.h 2013-10-16 01:15:53.000000000 +0400
|
||||
@@ -38,7 +38,8 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <event.h>
|
||||
-
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/socket.h>
|
||||
|
||||
|
||||
namespace apache { namespace thrift { namespace server {
|
3
devel/thrift-cpp/pkg-descr
Normal file
3
devel/thrift-cpp/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
C++ interface to Thrift.
|
||||
|
||||
WWW: http://thrift.apache.org/
|
109
devel/thrift-cpp/pkg-plist
Normal file
109
devel/thrift-cpp/pkg-plist
Normal file
@ -0,0 +1,109 @@
|
||||
include/thrift/TApplicationException.h
|
||||
include/thrift/TDispatchProcessor.h
|
||||
include/thrift/TLogging.h
|
||||
include/thrift/TProcessor.h
|
||||
include/thrift/TReflectionLocal.h
|
||||
include/thrift/Thrift.h
|
||||
include/thrift/async/TAsyncBufferProcessor.h
|
||||
include/thrift/async/TAsyncChannel.h
|
||||
include/thrift/async/TAsyncDispatchProcessor.h
|
||||
include/thrift/async/TAsyncProcessor.h
|
||||
include/thrift/async/TAsyncProtocolProcessor.h
|
||||
include/thrift/async/TEvhttpClientChannel.h
|
||||
include/thrift/async/TEvhttpServer.h
|
||||
include/thrift/concurrency/BoostThreadFactory.h
|
||||
include/thrift/concurrency/Exception.h
|
||||
include/thrift/concurrency/FunctionRunner.h
|
||||
include/thrift/concurrency/Monitor.h
|
||||
include/thrift/concurrency/Mutex.h
|
||||
include/thrift/concurrency/PlatformThreadFactory.h
|
||||
include/thrift/concurrency/PosixThreadFactory.h
|
||||
include/thrift/concurrency/StdMonitor.cpp
|
||||
include/thrift/concurrency/StdMutex.cpp
|
||||
include/thrift/concurrency/StdThreadFactory.cpp
|
||||
include/thrift/concurrency/StdThreadFactory.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/cxxfunctional.h
|
||||
include/thrift/processor/PeekProcessor.h
|
||||
include/thrift/processor/StatsProcessor.h
|
||||
include/thrift/processor/TMultiplexedProcessor.h
|
||||
include/thrift/protocol/TBase64Utils.h
|
||||
include/thrift/protocol/TBinaryProtocol.h
|
||||
include/thrift/protocol/TBinaryProtocol.tcc
|
||||
include/thrift/protocol/TCompactProtocol.h
|
||||
include/thrift/protocol/TCompactProtocol.tcc
|
||||
include/thrift/protocol/TDebugProtocol.h
|
||||
include/thrift/protocol/TDenseProtocol.h
|
||||
include/thrift/protocol/TJSONProtocol.h
|
||||
include/thrift/protocol/TMultiplexedProtocol.h
|
||||
include/thrift/protocol/TProtocol.h
|
||||
include/thrift/protocol/TProtocolDecorator.h
|
||||
include/thrift/protocol/TProtocolException.h
|
||||
include/thrift/protocol/TProtocolTap.h
|
||||
include/thrift/protocol/TVirtualProtocol.h
|
||||
include/thrift/qt/TQIODeviceTransport.h
|
||||
include/thrift/qt/TQTcpServer.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/thrift-config.h
|
||||
include/thrift/transport/PlatformSocket.h
|
||||
include/thrift/transport/TBufferTransports.h
|
||||
include/thrift/transport/TFDTransport.h
|
||||
include/thrift/transport/TFileTransport.h
|
||||
include/thrift/transport/THttpClient.h
|
||||
include/thrift/transport/THttpServer.h
|
||||
include/thrift/transport/THttpTransport.h
|
||||
include/thrift/transport/TPipe.h
|
||||
include/thrift/transport/TPipeServer.h
|
||||
include/thrift/transport/TSSLServerSocket.h
|
||||
include/thrift/transport/TSSLSocket.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/TVirtualTransport.h
|
||||
include/thrift/transport/TZlibTransport.h
|
||||
lib/libthrift-0.9.1.so
|
||||
lib/libthrift.a
|
||||
lib/libthrift.la
|
||||
lib/libthrift.so
|
||||
lib/libthrift.so.0
|
||||
lib/libthriftnb-%%PORTVERSION%%.so
|
||||
lib/libthriftnb.a
|
||||
lib/libthriftnb.la
|
||||
lib/libthriftnb.so
|
||||
lib/libthriftnb.so.0
|
||||
%%QT4%%lib/libthriftqt-%%PORTVERSION%%.so
|
||||
%%QT4%%lib/libthriftqt.a
|
||||
%%QT4%%lib/libthriftqt.la
|
||||
%%QT4%%lib/libthriftqt.so
|
||||
%%QT4%%lib/libthriftqt.so.0
|
||||
lib/libthriftz-0.9.1.so
|
||||
lib/libthriftz.a
|
||||
lib/libthriftz.la
|
||||
lib/libthriftz.so
|
||||
lib/libthriftz.so.0
|
||||
libdata/pkgconfig/thrift-nb.pc
|
||||
%%QT4%%libdata/pkgconfig/thrift-qt.pc
|
||||
libdata/pkgconfig/thrift-z.pc
|
||||
libdata/pkgconfig/thrift.pc
|
||||
@dirrm include/thrift/transport
|
||||
@dirrm include/thrift/server
|
||||
@dirrm include/thrift/qt
|
||||
@dirrm include/thrift/protocol
|
||||
@dirrm include/thrift/processor
|
||||
@dirrm include/thrift/concurrency
|
||||
@dirrm include/thrift/async
|
||||
@dirrm include/thrift
|
Loading…
Reference in New Issue
Block a user