1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- add an option (off by default) to build and install the VTK binding classes

This commit is contained in:
Pietro Cerutti 2011-06-15 16:02:22 +00:00
parent 9df690bf43
commit 42deab0664
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275630
2 changed files with 32 additions and 0 deletions

View File

@ -12,11 +12,23 @@ MASTER_SITES= SF/gdcm/gdcm%202.x/GDCM%20${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Grassroots DICOM library
OPTIONS= VTK "Build the VTK bindings" off
USE_BZIP2= yes
USE_CMAKE= yes
USE_LDCONFIG= ${PREFIX}/lib \
${PREFIX}/lib/gdcm-${GDCM_MAJ}
.include <bsd.port.options.mk>
.if defined(WITH_VTK)
LIB_DEPENDS+= vtkHybrid.5:${PORTSDIR}/math/vtk5
CMAKE_ARGS+= -DGDCM_USE_VTK:BOOL=YES
PLIST_SUB+= VTK=""
.else
PLIST_SUB+= VTK="@comment "
.endif
GDCM_MAJ= 2.0
GDCM_MIN= 17

View File

@ -7,6 +7,8 @@ bin/gdcmimg
bin/gdcmconv
bin/gdcmtar
bin/gdcminfo
%%VTK%%bin/gdcm2vtk
%%VTK%%bin/gdcmviewer
include/gdcm-2.0/gdcmASN1.h
include/gdcm-2.0/gdcmAnonymizeEvent.h
include/gdcm-2.0/gdcmAnonymizer.h
@ -287,6 +289,21 @@ include/gdcm-2.0/gdcmopenjpeg/t2.h
include/gdcm-2.0/gdcmopenjpeg/tcd.h
include/gdcm-2.0/gdcmopenjpeg/tgt.h
include/gdcm-2.0/zipstreamimpl.h
%%VTK%%include/gdcm-2.0/vtkGDCMImageReader.h
%%VTK%%include/gdcm-2.0/vtkGDCMImageWriter.h
%%VTK%%include/gdcm-2.0/vtkGDCMMedicalImageProperties.h
%%VTK%%include/gdcm-2.0/vtkGDCMPolyDataReader.h
%%VTK%%include/gdcm-2.0/vtkGDCMPolyDataWriter.h
%%VTK%%include/gdcm-2.0/vtkGDCMTesting.h
%%VTK%%include/gdcm-2.0/vtkGDCMThreadedImageReader.h
%%VTK%%include/gdcm-2.0/vtkGDCMThreadedImageReader2.h
%%VTK%%include/gdcm-2.0/vtkImageColorViewer.h
%%VTK%%include/gdcm-2.0/vtkImageMapToColors16.h
%%VTK%%include/gdcm-2.0/vtkImageMapToWindowLevelColors2.h
%%VTK%%include/gdcm-2.0/vtkImagePlanarComponentsToComponents.h
%%VTK%%include/gdcm-2.0/vtkImageRGBToYBR.h
%%VTK%%include/gdcm-2.0/vtkImageYBRToRGB.h
%%VTK%%include/gdcm-2.0/vtkLookupTable16.h
lib/gdcm-2.0/GDCMConfig.cmake
lib/gdcm-2.0/GDCMConfigVersion.cmake
lib/gdcm-2.0/GDCMTargets-%%CMAKE_BUILD_TYPE%%.cmake
@ -334,6 +351,9 @@ lib/libgdcmuuid.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
lib/libgdcmzlib.so
lib/libgdcmzlib.so.%%GDCM_MAJ%%
lib/libgdcmzlib.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
%%VTK%%lib/libvtkgdcm.so
%%VTK%%lib/libvtkgdcm.so.%%GDCM_MAJ%%
%%VTK%%lib/libvtkgdcm.so.%%GDCM_MAJ%%.%%GDCM_MIN%%
%%DATADIR%%/XML/CSAHeader.xml
%%DATADIR%%/XML/DICOMV3.xml
%%DATADIR%%/XML/Part3.xml