freebsd-ports/net/librdkafka/Makefile
Mathieu Arnold 63d17e75d7 Cleanup some abusive use of GH_TAGNAME.
With hat:	portmgr
Sponsored by:	Absolight
2015-08-04 11:29:18 +00:00

37 lines
759 B
Makefile

# Created by: Victor Yagofarov <xnasx@yandex.ru>
# $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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>