1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/devel/cpp2py/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

38 lines
981 B
Makefile

# $FreeBSD$
PORTNAME= cpp2py
DISTVERSION= 1.5-19
DISTVERSIONSUFFIX= -g5fd079c
PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Reflection tools based on clang
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.txt
PY_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
BUILD_DEPENDS= ${PY_DEPENDS} \
llvm${LLVM_VER}>0:devel/llvm${LLVM_VER}
RUN_DEPENDS= ${PY_DEPENDS} \
llvm${LLVM_VER}>0:devel/llvm${LLVM_VER}
USES= cmake compiler:c++14-lang python:2.7 shebangfix
USE_GITHUB= yes
GH_ACCOUNT= TRIQS
SHEBANG_FILES= bin/c*
CMAKE_ARGS= -DPYTHON_INTERPRETER:STRING=${PYTHON_CMD} \
-DFREEBSD_LLVM_VER:STRING=${LLVM_VER}
USE_LDCONFIG= yes
LLVM_VER= 60
post-install: # remove unnecessary files
@cd ${STAGEDIR}${PREFIX} && ${RM} share/cpp2py.modulefile share/cpp2pyvars.sh
.include <bsd.port.mk>