summaryrefslogtreecommitdiff
path: root/science/dlib-cpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/dlib-cpp/Makefile')
-rw-r--r--science/dlib-cpp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/science/dlib-cpp/Makefile b/science/dlib-cpp/Makefile
index 617844a38ab6..98c6d4828563 100644
--- a/science/dlib-cpp/Makefile
+++ b/science/dlib-cpp/Makefile
@@ -1,6 +1,7 @@
PORTNAME= dlib
DISTVERSIONPREFIX=v
-DISTVERSION= 19.24.8
+DISTVERSION= 20.0
+PORTREVISION= 1
CATEGORIES= science devel math
PKGNAMESUFFIX= -cpp
@@ -14,13 +15,16 @@ LICENSE_FILE= ${WRKSRC}/dlib/LICENSE.txt
LIB_DEPENDS= libpng.so:graphics/png \
libgif.so:graphics/giflib
-USES= cmake compiler:c++11-lang pkgconfig sqlite tar:bzip2 xorg
+USES= cmake compiler:c++11-lang jpeg pkgconfig sqlite tar:bzip2 xorg
USE_LDCONFIG= yes
USE_XORG= ice sm x11 xext
USE_GITHUB= yes
GH_ACCOUNT= davisking
+EXTRACT_AFTER_ARGS= --exclude=${PORTNAME}-${DISTVERSION}/dlib/external \
+ --no-same-owner --no-same-permissions
+
CMAKE_ON= BUILD_SHARED_LIBS
OPTIONS_DEFINE= BLASLAPACK FFMPEG