devel/thrift-c_glib: C glib interface to Thrift

WWW: http://thrift.apache.org/

PR:		ports/183057
Submitted by:	Valery Komarov <komarov valerka.net>
This commit is contained in:
William Grzybowski 2013-11-09 15:17:54 +00:00
parent 9f15a9fb93
commit bb6b55d838
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333298
4 changed files with 87 additions and 0 deletions

View file

@ -4431,6 +4431,7 @@
SUBDIR += tex-kpathsea
SUBDIR += tex-web2c
SUBDIR += thrift
SUBDIR += thrift-c_glib
SUBDIR += thrift-cpp
SUBDIR += thunar-vcs-plugin
SUBDIR += tide

View file

@ -0,0 +1,53 @@
# 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 glib interface to Thrift
PKGNAMESUFFIX= -c_glib
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= /thrift/${PORTVERSION
DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo
DISTNAME= thrift-${PORTVERSION}
BUILDIR= ${WRKDIR}/${DISTNAME}/lib/c_glib
LIB_DEPENDS= libglib-2.0.so:${PORTSDIR}/devel/glib20
USE_AUTOTOOLS= autoconf autoheader:env aclocal automake libtool
ACLOCAL_ARGS= -I${WRKSRC}/aclocal
AUTOMAKE_ARGS= --foreign --add-missing --copy
USES= pkgconfig gmake
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
.include "../thrift/bsd.thrift.mk"
CONFIGURE_ARGS+= \
--with-c_glib \
--without-cpp \
--without-qt4 \
--without-csharp \
--without-erlang \
--without-haskell \
--without-java \
--without-perl \
--without-php \
--without-php_extension \
--without-python \
--without-ruby
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/c_glib/Makefile.am
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
C glib interface to Thrift.
WWW: http://thrift.apache.org/

View file

@ -0,0 +1,30 @@
include/thrift/c_glib/config.h
include/thrift/c_glib/processor/thrift_processor.h
include/thrift/c_glib/protocol/thrift_binary_protocol.h
include/thrift/c_glib/protocol/thrift_binary_protocol_factory.h
include/thrift/c_glib/protocol/thrift_protocol.h
include/thrift/c_glib/protocol/thrift_protocol_factory.h
include/thrift/c_glib/server/thrift_server.h
include/thrift/c_glib/server/thrift_simple_server.h
include/thrift/c_glib/thrift.h
include/thrift/c_glib/thrift_application_exception.h
include/thrift/c_glib/thrift_struct.h
include/thrift/c_glib/transport/thrift_buffered_transport.h
include/thrift/c_glib/transport/thrift_framed_transport.h
include/thrift/c_glib/transport/thrift_memory_buffer.h
include/thrift/c_glib/transport/thrift_server_socket.h
include/thrift/c_glib/transport/thrift_server_transport.h
include/thrift/c_glib/transport/thrift_socket.h
include/thrift/c_glib/transport/thrift_transport.h
include/thrift/c_glib/transport/thrift_transport_factory.h
lib/libthrift_c_glib.a
lib/libthrift_c_glib.la
lib/libthrift_c_glib.so
lib/libthrift_c_glib.so.0
libdata/pkgconfig/thrift_c_glib.pc
@dirrm include/thrift/c_glib/transport
@dirrm include/thrift/c_glib/server
@dirrm include/thrift/c_glib/protocol
@dirrm include/thrift/c_glib/processor
@dirrm include/thrift/c_glib
@dirrm include/thrift