aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2018-12-05 18:03:31 +0800
committerRene Ladan <rene@FreeBSD.org>2018-12-05 18:03:31 +0800
commit546bddb11db105d6606e92c97c337b043d69ca7b (patch)
tree075d001466eb7675f339376b777f4eb851d09d9c /devel
parent5704a3f34f64ccc64ab80064c90778311f5f8bc5 (diff)
downloadfreebsd-ports-gnome-546bddb11db105d6606e92c97c337b043d69ca7b.tar.gz
freebsd-ports-gnome-546bddb11db105d6606e92c97c337b043d69ca7b.tar.zst
freebsd-ports-gnome-546bddb11db105d6606e92c97c337b043d69ca7b.zip
devel/gdcm: remove optional support on expired math/vtk5
Diffstat (limited to 'devel')
-rw-r--r--devel/gdcm/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/devel/gdcm/Makefile b/devel/gdcm/Makefile
index bdebd38114a6..c8f460bca5aa 100644
--- a/devel/gdcm/Makefile
+++ b/devel/gdcm/Makefile
@@ -17,14 +17,9 @@ LIB_DEPENDS= libopenjp2.so:graphics/openjpeg \
USES= alias cmake:outsource compiler:c++11-lang tar:bzip2 ssl
-OPTIONS_RADIO= VTK
-OPTIONS_RADIO_VTK= VTK5 VTK6
+OPTIONS_DEFINE= VTK6
OPTIONS_SUB= yes
-VTK5_DESC= Build VTK 5 integration classes
-VTK5_LIB_DEPENDS= libvtkHybrid.so:math/vtk5
-VTK5_CMAKE_ON= -DGDCM_USE_VTK:BOOL=ON \
- -DVTK_DIR:PATH=${LOCALBASE}/lib/vtk-${VTK5_VERSION}
VTK6_DESC= Build VTK 6 integration classes
VTK6_LIB_DEPENDS= libvtkCommonCore-${VTK6_VERSION}.so:math/vtk6
VTK6_CMAKE_ON= -DGDCM_USE_VTK:BOOL=ON \
@@ -36,7 +31,6 @@ GDCM_MINOR= 8
GDCM_PATCH= 8
# Change this whenever VTK is updated
-VTK5_VERSION= 5.10
VTK6_VERSION= 6.2
USE_LDCONFIG= yes
@@ -54,7 +48,7 @@ CMAKE_ARGS= -DGDCM_USE_SYSTEM_OPENSSL:BOOL=ON \
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MVTK5} || ${PORT_OPTIONS:MVTK6}
+.if ${PORT_OPTIONS:MVTK6}
DESKTOP_ENTRIES="Gdcmviewer" "Simple DICOM Viewer" "" "gdcmviewer" "" ""
PLIST_SUB+= VTK=""
.else