blob: 51208f7c165b2dc55b9ad433170aac7714c371b9 (
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
35
|
# Created by: Ed Schouten <ed@FreeBSD.org>
# $FreeBSD$
PORTNAME= arpc
DISTVERSIONPREFIX= v
DISTVERSION= 0.7
CATEGORIES= devel
MAINTAINER= ed@FreeBSD.org
COMMENT= GRPC-like RPC library that supports file descriptor passing
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 localbase:ldflags python:3.4+ \
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>
|