blob: e2d04588edeedc48603cdaa4ba9178c6f2fb44b9 (
plain)
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
27
28
29
30
31
32
33
34
|
PORTNAME= arpc
DISTVERSIONPREFIX= v
DISTVERSION= 0.7
PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= ed@FreeBSD.org
COMMENT= GRPC-like RPC library that supports file descriptor passing
WWW= https://github.com/NuxiNL/arpc
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyPEG2>=2.15.2:textproc/py-pyPEG2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toposort>=1.5:devel/py-toposort@${PY_FLAVOR}
LIB_DEPENDS= libargdata.so:devel/argdata
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyPEG2>=2.15.2:textproc/py-pyPEG2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toposort>=1.5:devel/py-toposort@${PY_FLAVOR}
USES= compiler:c++17-lang cmake:insource localbase:ldflags python \
shebangfix
SHEBANG_FILES= scripts/aprotoc.py
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= NuxiNL
PLIST_FILES= bin/aprotoc include/arpc++/arpc++.h \
lib/libarpc.so lib/libarpc.so.1
# Require the unit tests to pass prior to installing.
post-build:
@trap '' PIPE && ${WRKSRC}/arpc_tests
.include <bsd.port.mk>
|