# Created by: Victor Yagofarov # $FreeBSD$ PORTNAME= librdkafka PORTVERSION= 0.8.6 CATEGORIES= net 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 .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 && ${ARCH} == "i386" CFLAGS+= -march=pentium .endif 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