blob: 0985a2c630620872652d575bd8a8484e4b88ebb0 (
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
|
# Created by: vanilla@
# $FreeBSD$
PORTNAME= grpcio-tools
PORTVERSION= 1.8.6
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Protobuf code generator for gRPC
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio>1:devel/py-grpcio@${FLAVOR}
LIB_DEPENDS= libcares.so:dns/c-ares
USES= localbase:ldflags python
USE_PYTHON= autoplist distutils
CFLAGS+= -DHAVE_PTHREAD=1
LDFLAGS+= -lcares
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/grpc_tools/_protoc_compiler.so
.include <bsd.port.mk>
|