PORTNAME= dlib DISTVERSION= 19.24.6 CATEGORIES= science devel math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= arrowd@FreeBSD.org COMMENT= Machine learning framework written in C++ (python bindings) WWW= http://dlib.net LICENSE= BSL LICENSE_FILE= ${WRKSRC}/dlib/LICENSE.txt LIB_DEPENDS= ${PY_BOOST} \ libpng.so:graphics/png \ libgif.so:graphics/giflib USES= cmake:indirect compiler:c++11-lang pkgconfig python shebangfix \ sqlite USE_PYTHON= autoplist distutils USE_XORG= ice sm x11 xext SHEBANG_FILES= python_examples/*.py OPTIONS_DEFINE= BLASLAPACK BLASLAPACK_DESC= Use OpenBLAS for matrix operations BLASLAPACK_USES= blaslapack:openblas BLASLAPACK_VARS_OFF= blaslapackargs="--no DLIB_USE_BLAS --no DLIB_USE_LAPACK" PYDISTUTILS_BUILDARGS= --set BOOST_PYTHON_SUFFIX:STRING=${PYTHON_SUFFIX} ${X11ARGS} ${JPEGARGS} ${PNGARGS} ${GIFARGS} ${SQLITEARGS} ${BLASLAPACKARGS} ${AVXARGS} ${BLASLAPACK} # due to a build system bug the code gets recompiled twice during "build" and "stage" do-build: @${DO_NADA} .include