Changeset View
Changeset View
Standalone View
Standalone View
devel/py-grpcio/Makefile
# Created by: vanilla@ | # Created by: vanilla@ | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= grpcio | PORTNAME= grpcio | ||||
PORTVERSION= 1.4.0 | PORTVERSION= 1.4.0 | ||||
CATEGORIES= devel python | CATEGORIES= devel python | ||||
MASTER_SITES= CHEESESHOP | MASTER_SITES= CHEESESHOP | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= vanilla@FreeBSD.org | MAINTAINER= vanilla@FreeBSD.org | ||||
COMMENT= HTTP/2-based RPC framework | COMMENT= HTTP/2-based RPC framework | ||||
LICENSE= BSD3CLAUSE | LICENSE= BSD3CLAUSE | ||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>1:devel/py-six \ | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>1:devel/py-six@${FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}enum34>1:devel/py-enum34 \ | ${PYTHON_PKGNAMEPREFIX}enum34>1:devel/py-enum34@${FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}protobuf>=3:devel/py-protobuf | ${PYTHON_PKGNAMEPREFIX}protobuf>=3:devel/py-protobuf@${FLAVOR} | ||||
LIB_DEPENDS= libcares.so:dns/c-ares | LIB_DEPENDS= libcares.so:dns/c-ares | ||||
BROKEN_aarch64= fails to compile: cpu-aarch64-linux.c: fatal error: 'sys/auxv.h' file not found | BROKEN_aarch64= fails to compile: cpu-aarch64-linux.c: fatal error: 'sys/auxv.h' file not found | ||||
BROKEN_powerpc64= fails to compile: cpu-ppc64le.c: 'AT_HWCAP2' undeclared | BROKEN_powerpc64= fails to compile: cpu-ppc64le.c: 'AT_HWCAP2' undeclared | ||||
USES= python | USES= python | ||||
USE_PYTHON= distutils | USE_PYTHON= distutils | ||||
CFLAGS+= -Ithird_party/boringssl/include \ | CFLAGS+= -Ithird_party/boringssl/include \ | ||||
-I${LOCALBASE}/include | -I${LOCALBASE}/include | ||||
LDFLAGS+= -L${LOCALBASE}/lib -lcares | LDFLAGS+= -L${LOCALBASE}/lib -lcares | ||||
post-install: | post-install: | ||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/grpc/_cython/cygrpc.so | ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/grpc/_cython/cygrpc.so | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |