blob: ee4a0e8f633e367efbcfe9c2735c46e34a5f2073 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Victor Yagofarov <xnasx@yandex.ru>
# $FreeBSD$
PORTNAME= librdkafka
PORTVERSION= 0.9.1
CATEGORIES= net
MAINTAINER= ports@FreeBSD.org
COMMENT= Apache Kafka C/C++ library
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= bash:shells/bash
USE_GITHUB= yes
GH_ACCOUNT= edenhill
USES= gmake perl5 python shebangfix ssl
SHEBANG_FILES= lds-gen.py
GNU_CONFIGURE= yes
MAKE_ENV= pkgconfigdir=${PREFIX}/libdata/pkgconfig
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 && ${ARCH} == "i386"
CFLAGS+= -march=pentium
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*
.include <bsd.port.post.mk>
|