freebsd-ports/devel/arpc/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

37 lines
1.0 KiB
Makefile

# Created by: Ed Schouten <ed@FreeBSD.org>
# $FreeBSD$
PORTNAME= arpc
DISTVERSIONPREFIX= v
DISTVERSION= 0.7
PORTREVISION= 1
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:insource 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>