diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-11-02 14:58:49 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-11-02 17:45:06 +0000 |
commit | 58eab6373898d301a6d54b5be7db7eff7b762f4f (patch) | |
tree | 1d5dadb60eb8a14bbc7395bdeab26602dfbd706f | |
parent | be7724ae5c9f99764c542797cd6071a7caf04908 (diff) | |
download | ports-58eab6373898d301a6d54b5be7db7eff7b762f4f.tar.gz ports-58eab6373898d301a6d54b5be7db7eff7b762f4f.zip |
misc/visp: Add options COIN OGRE PCL ZBAR
-rw-r--r-- | misc/visp/Makefile | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/misc/visp/Makefile b/misc/visp/Makefile index 31f69a359bf5..781006ff0dec 100644 --- a/misc/visp/Makefile +++ b/misc/visp/Makefile @@ -1,6 +1,6 @@ PORTNAME= visp DISTVERSION= 3.5.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= misc MASTER_SITES= https://visp-doc.inria.fr/download/releases/ @@ -23,14 +23,13 @@ LIB_DEPENDS= libblas.so:math/blas \ libopenblas.so:math/openblas \ libopencv_core.so:graphics/opencv \ libopencv_videoio.so:graphics/opencv \ - libpcl_common.so:graphics/pcl-pointclouds \ libqhull_r.so:math/qhull \ libpng.so:graphics/png \ libv4l2.so:multimedia/libv4l \ liblz4.so:archivers/liblz4 \ libdc1394.so:multimedia/libdc1394 -USES= cmake compiler:c++14-lang eigen:3 fortran gl gnome jpeg xorg zip +USES= cmake compiler:c++14-lang eigen:3 fortran gl gnome jpeg python:build xorg zip USE_GNOME= libxml2 USE_XORG= ice sm x11 xext USE_GL= gl glu opengl @@ -38,11 +37,24 @@ USE_LDCONFIG= yes CMAKE_OFF= WITH_QBDEVICE BUILD_EXAMPLES BUILD_TUTORIALS BUILD_TESTS BUILD_DEMOS -OPTIONS_DEFINE= OGRE +OPTIONS_DEFINE= COIN OGRE PCL ZBAR +OPTIONS_DEFAULT= COIN OGRE PCL ZBAR -OGRE_DESC= Include Ogre support +COIN_DESC= Use Coin3D for simulation or augmented reality capabilities +COIN_CMAKE_BOOL= USE_COIN3D +COIN_LIB_DEPENDS= libCoin.so:graphics/Coin + +OGRE_DESC= Include Ogre support for 3D Rendering OGRE_CMAKE_BOOL= USE_OGRE -OGRE_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ - libOgreMain.so:graphics/ogre3d19 +OGRE_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d19 + +PCL_DESC= Include Point Cloud Library support +PCL_CMAKE_BOOL= USE_PCL +PCL_LIB_DEPENDS= libpcl_common.so:graphics/pcl-pointclouds \ + libvtkCommonCore-9.2.so:math/vtk9 # vtk9 is incurred by pcl-pointclouds + +ZBAR_DESC= Use ZBAR to read bar codes and QR codes +ZBAR_CMAKE_BOOL= USE_ZBAR +ZBAR_LIB_DEPENDS= libzbar.so:graphics/zbar .include <bsd.port.mk> |