diff --git a/devel/libserdes/Makefile b/devel/libserdes/Makefile new file mode 100644 index 000000000000..7156d2cefe6e --- /dev/null +++ b/devel/libserdes/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= libserdes +PORTVERSION= 6.0.2 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= sergey@akhmatov.ru +COMMENT= Schema-based serializer/deserializer with support for Avro + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= bash:shells/bash +LIB_DEPENDS= libavro.so:devel/avro-c \ + libcurl.so:ftp/curl \ + libjansson.so:devel/jansson + +USES= gmake localbase:ldflags perl5 + +USE_GITHUB= yes +GH_ACCOUNT= confluentinc + +USE_LDCONFIG= yes +USE_PERL5= build + +GNU_CONFIGURE= yes + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libserdes.so + +.include diff --git a/devel/libserdes/distinfo b/devel/libserdes/distinfo new file mode 100644 index 000000000000..84ef1c3bbbf1 --- /dev/null +++ b/devel/libserdes/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1615122509 +SHA256 (confluentinc-libserdes-v6.0.2_GH0.tar.gz) = 3fa08494cc2701d22594ce175ed21622fef1717bb0c8e4aaebfe1ff2119eef88 +SIZE (confluentinc-libserdes-v6.0.2_GH0.tar.gz) = 62324 diff --git a/devel/libserdes/pkg-descr b/devel/libserdes/pkg-descr new file mode 100644 index 000000000000..4aad89c153cb --- /dev/null +++ b/devel/libserdes/pkg-descr @@ -0,0 +1,9 @@ +libserdes is a schema-based serializer/deserializer +C/C++ library with support for Avro and the Confluent +Platform Schema Registry. + +The library is aimed to be used in the streaming pipeline, +e.g. Apache Kafka, to perform data serialization and +deserialization with centrally managed schemas. + +WWW: https://github.com/confluentinc/libserdes diff --git a/devel/libserdes/pkg-plist b/devel/libserdes/pkg-plist new file mode 100644 index 000000000000..70bfce8cec27 --- /dev/null +++ b/devel/libserdes/pkg-plist @@ -0,0 +1,6 @@ +include/libserdes/serdes-avro.h +include/libserdes/serdes-common.h +include/libserdes/serdes.h +lib/libserdes.a +lib/libserdes.so +lib/libserdes.so.1