# Created by: Victor Yagofarov # $FreeBSD: head/net/librdkafka/Makefile 413746 2016-04-21 16:43:14Z swills $ PORTNAME= librdkafka PORTVERSION= 0.8.6 CATEGORIES= net MAINTAINER= xnasx@yandex.ru COMMENT= Apache Kafka C/C++ library LICENSE= BSD3CLAUSE BROKEN_powerpc64= Does not build BUILD_DEPENDS= bash: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