PORTNAME= seexpr PORTVERSION= 3.4.4.0 PORTREVISION= 2 CATEGORIES= graphics math MASTER_SITES= https://download.kde.org/stable/${PORTNAME}/ MAINTAINER= danfe@FreeBSD.org COMMENT= Embeddable expression evaluation language WWW= https://wdas.github.io/SeExpr/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png USES= bison cmake compiler:c++14-lang gl qt:5 USE_GL= gl glu USE_LDCONFIG= yes USE_QT= buildtools:build qmake:build core gui linguisttools opengl widgets MAKE_JOBS_UNSAFE= yes # https://github.com/wdas/seexpr/issues/40 CONFLICTS_INSTALL= kseexpr OPTIONS_DEFINE= ANIMCURVE DEEPWATER LLVM NLS PYTHON OPTIONS_DEFAULT= DEEPWATER OPTIONS_SUB= yes ANIMCURVE_DESC= Build controls for animation curves ANIMCURVE_CMAKE_ON= -DENABLE_ANIMCURVE:BOOL=TRUE ANIMCURVE_BROKEN= error: use of undeclared identifier 'animlib' DEEPWATER_DESC= Build controls for deep water spectrum DEEPWATER_CMAKE_ON= -DENABLE_DEEPWATER:BOOL=TRUE LLVM_DESC= Build with LLVM ${LLVM_DEFAULT:C/.$$//} backend LLVM_LIB_DEPENDS= libLLVM.so:devel/llvm${LLVM_DEFAULT} LLVM_CMAKE_OFF= -DENABLE_LLVM_BACKEND:BOOL=FALSE NLS_USES= kde:5 NLS_USE= KDE=ecm:build NLS_CMAKE_OFF= -DBUILD_TRANSLATIONS:BOOL=FALSE PYTHON_BUILD_DEPENDS= sip:devel/py-sip4 PYTHON_LIB_DEPENDS= ${PY_BOOST} PYTHON_USES= pyqt:5 python PYTHON_USE= PYQT=pyqt5 PYTHON_CMAKE_ON= -DPYQT_SIP_DIR:STRING=${PYQT_SIPDIR} PYTHON_CMAKE_OFF= -DUSE_PYTHON:BOOL=FALSE .if ! ${MACHINE_CPU:Msse41} CMAKE_ARGS+= -DENABLE_SSE4:BOOL=FALSE .endif post-patch: @${REINPLACE_CMD} -e '//d' ${WRKSRC}/src/SeExpr2/Platform.h @${REINPLACE_CMD} -e '/pkgconfig/s/share/libdata/' \ ${WRKSRC}/CMakeLists.txt post-install: @${RMDIR} ${STAGEDIR}${PREFIX}/include/SeExpr2/generated .include