Files
2026-06-04 11:29:07 +00:00

38 lines
759 B
Makefile

COMMENT = RPCs from Ruby using gRPC
VERSION = 1.81.0
DISTNAME = grpc-${VERSION}
CATEGORIES = net devel
HOMEPAGE = https://grpc.io/
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
# Apache2
PERMIT_PACKAGE = Yes
# needs c++ and modern c
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c c++
MODULES = lang/ruby
WANTLIB += ${COMPILER_LIBCXX} grpc
BUILD_DEPENDS = \
net/ruby-googleapis-common-protos-types,${MODRUBY_FLAVOR} \
devel/ruby-google-protobuf,${MODRUBY_FLAVOR}
LIB_DEPENDS = net/grpc>=${VERSION}
CONFIGURE_STYLE = ruby gem ext
CONFIGURE_ARGS= --use-system-libraries
post-patch:
rm ${WRKSRC}/Makefile ${WRKSRC}/.yardopts
rm -r ${WRKSRC}/etc ${WRKSRC}/include ${WRKSRC}/third_party \
${WRKSRC}/src/core
.include <bsd.port.mk>