freebsd-ports/net/rubygem-grpc/Makefile
Matthias Fechner b0e34e37f8 Applied security upgrade to gitlab 10.7.5.
Fixed bug with wrong path for gitlab-workhouse that should fix artifacts (reported by Felix <mail@felix.flornet.de>). This was fix upstream but is not included in this version yet: https://gitlab.com/gitlab-org/gitlab-ce/issues/46763
Update net/rubygem-grpc to 1.11.1 which is required for gitlab 10.7.5.
Sync dep net/rubygem-grpc with gitlab which uses now 1.11.1.
Added gitlab-pages again to dependencies as the new version builds again.

Reported by:	Felix <mail@felix.flornet.de>
Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D15631
2018-05-31 13:48:39 +00:00

35 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= grpc
PORTVERSION= 1.11.1
CATEGORIES= net rubygems
MASTER_SITES= RG
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Ruby implementation of gRPC
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libcares.so:dns/c-ares \
libgrpc.so:devel/grpc
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \
rubygem-google-protobuf>=3.1:devel/rubygem-google-protobuf \
rubygem-googleauth>=0.5.1:security/rubygem-googleauth \
rubygem-googleapis-common-protos-types>=1.0.0:devel/rubygem-googleapis-common-protos-types
MAKE_JOBS_UNSAFE= yes
USES= gem gmake pkgconfig
USE_RUBY= yes
post-extract:
@${RM} -r ${WRKSRC}/include ${WRKSRC}/third_party ${WRKSRC}/src/boringssl \
${WRKSRC}/src/core ${WRKSRC}/Makefile ${WRKSRC}/.yardopts ${WRKSRC}/etc
post-patch:
@${REINPLACE_CMD} 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/src/ruby/lib/grpc.rb
@${REINPLACE_CMD} -E '/s\.files = /s;, "(Makefile|etc|include|third_party|src/boringssl|src/core)[^"]*"\.freeze;;g' \
${WRKSRC}/grpc.gemspec
@${REINPLACE_CMD} -e '/s\.files = /s;"\.yardopts"\.freeze, ;;' ${WRKSRC}/grpc.gemspec
.include <bsd.port.mk>