1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Fix build by using correct python path

- Reset maintainer by his own request
- Add LICENSE_FILE
- Add missing USES=ssl
- Simplify and silence stripping

PR:             210633
Reported by:	sergey@akhmatov.ru
This commit is contained in:
Dmitry Marakasov 2016-06-27 19:22:08 +00:00
parent 665abd49cf
commit dceff49125
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417676

View File

@ -5,10 +5,11 @@ PORTNAME= librdkafka
PORTVERSION= 0.9.1
CATEGORIES= net
MAINTAINER= xnasx@yandex.ru
MAINTAINER= ports@FreeBSD.org
COMMENT= Apache Kafka C/C++ library
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= Does not build
@ -17,10 +18,12 @@ BUILD_DEPENDS= bash:shells/bash
USE_GITHUB= yes
GH_ACCOUNT= edenhill
USE_LDCONFIG= yes
USES= gmake perl5 python
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>
@ -28,8 +31,7 @@ GNU_CONFIGURE= yes
CFLAGS+= -march=pentium
.endif
post-stage:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librdkafka.so.1
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librdkafka++.so.1
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*
.include <bsd.port.post.mk>