aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/waifu2x-converter-cpp
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-05-17 21:33:58 +0800
committerJan Beich <jbeich@FreeBSD.org>2021-05-18 08:47:15 +0800
commit0534139b371e0e3b1990378b006dadc377e3d94c (patch)
tree6c520940f9f7715626971396aa815fa3678399e2 /graphics/waifu2x-converter-cpp
parent67a311cc56e21cb7921b2bdf6c6409297aa8ee70 (diff)
downloadfreebsd-ports-gnome-0534139b371e0e3b1990378b006dadc377e3d94c.tar.gz
freebsd-ports-gnome-0534139b371e0e3b1990378b006dadc377e3d94c.tar.zst
freebsd-ports-gnome-0534139b371e0e3b1990378b006dadc377e3d94c.zip
graphics/waifu2x-converter-cpp: convert to USES=cmake:testing
Diffstat (limited to 'graphics/waifu2x-converter-cpp')
-rw-r--r--graphics/waifu2x-converter-cpp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/waifu2x-converter-cpp/Makefile b/graphics/waifu2x-converter-cpp/Makefile
index 85143c4738fa..d92f93ee6665 100644
--- a/graphics/waifu2x-converter-cpp/Makefile
+++ b/graphics/waifu2x-converter-cpp/Makefile
@@ -15,14 +15,14 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl
LIB_DEPENDS= libopencv_imgcodecs.so:graphics/opencv
-USES= cmake compiler:c++17-lang localbase:ldflags
+USES= cmake:testing compiler:c++17-lang localbase:ldflags
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= DeadSix27
+CMAKE_ON= INSTALL_MODELS
+CMAKE_TESTING_ON= ENABLE_TESTS
CMAKE_ARGS= -DOPENCV_PREFIX:PATH="${LOCALBASE}" \
-DOpenCL_LIBRARY:FILEPATH="${LOCALBASE}/lib/libOpenCL.so"
-CMAKE_ON= INSTALL_MODELS ENABLE_TESTS
-TEST_TARGET= test
PLIST_FILES= bin/${PORTNAME} \
include/w2xconv.h \
lib/libw2xc.so