From aa1e9823f197f0bc3811299279a23480aeffd2c4 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Fri, 24 Jul 2015 11:14:40 +0000 Subject: New port: net/librdkafka This is a port of librdkafka, a C library implementation of the Apache Kafka protocol, containing both Producer and Consumer support. It was designed with message delivery reliability and high performance in mind, current figures exceed 800000 msgs/second for the producer and 3 million msgs/second for the consumer. WWW: https://github.com/edenhill/librdkafka/ PR: 201521 Submitted by: Victor Yagofarov --- net/librdkafka/Makefile | 32 ++++++++++++++++++++++++++++++++ net/librdkafka/distinfo | 2 ++ net/librdkafka/pkg-descr | 8 ++++++++ net/librdkafka/pkg-plist | 9 +++++++++ 4 files changed, 51 insertions(+) create mode 100644 net/librdkafka/Makefile create mode 100644 net/librdkafka/distinfo create mode 100644 net/librdkafka/pkg-descr create mode 100644 net/librdkafka/pkg-plist (limited to 'net/librdkafka') diff --git a/net/librdkafka/Makefile b/net/librdkafka/Makefile new file mode 100644 index 000000000000..a1697ef9188d --- /dev/null +++ b/net/librdkafka/Makefile @@ -0,0 +1,32 @@ +# Created by: Victor Yagofarov +# $FreeBSD$ + +PORTNAME= librdkafka +PORTVERSION= 0.8.6 +CATEGORIES= net +DISTNAME= ${GH_ACCOUNT}-${PORTNAME}-${PORTVERSION}-${GH_TAGNAME} + +MAINTAINER= xnasx@yandex.ru +COMMENT= Apache Kafka C/C++ library + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash + +USE_GITHUB= yes +GH_ACCOUNT= edenhill +GH_TAGNAME= e3d984849a + +USE_LDCONFIG= yes + +USES= gmake perl5 +GNU_CONFIGURE= yes + +post-install: + ${INSTALL_DATA} ${WRKSRC}/rdkafka.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/librdkafka.pc + +post-stage: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librdkafka.so.1 + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librdkafka++.so.1 + +.include diff --git a/net/librdkafka/distinfo b/net/librdkafka/distinfo new file mode 100644 index 000000000000..300b69b73588 --- /dev/null +++ b/net/librdkafka/distinfo @@ -0,0 +1,2 @@ +SHA256 (edenhill-librdkafka-0.8.6-e3d984849a_GH0.tar.gz) = 8a0383ad377f9067ed76e5198fce1729d6e08b2603bd1e1e9064cb57f0c8be4d +SIZE (edenhill-librdkafka-0.8.6-e3d984849a_GH0.tar.gz) = 202170 diff --git a/net/librdkafka/pkg-descr b/net/librdkafka/pkg-descr new file mode 100644 index 000000000000..a11f9afb1e9d --- /dev/null +++ b/net/librdkafka/pkg-descr @@ -0,0 +1,8 @@ +This is a port of librdkafka, a C library implementation +of the Apache Kafka protocol, containing both Producer and +Consumer support. It was designed with message delivery +reliability and high performance in mind, current figures +exceed 800000 msgs/second for the producer and 3 million +msgs/second for the consumer. + +WWW: https://github.com/edenhill/librdkafka/ diff --git a/net/librdkafka/pkg-plist b/net/librdkafka/pkg-plist new file mode 100644 index 000000000000..3937c10a44b9 --- /dev/null +++ b/net/librdkafka/pkg-plist @@ -0,0 +1,9 @@ +include/librdkafka/rdkafka.h +include/librdkafka/rdkafkacpp.h +lib/librdkafka++.a +lib/librdkafka++.so +lib/librdkafka++.so.1 +lib/librdkafka.a +lib/librdkafka.so +lib/librdkafka.so.1 +libdata/pkgconfig/librdkafka.pc -- cgit v1.2.3