1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

chase vtk8 upgrade from ports r533086

the shared library version changed, and the cmake files are now in
a new location
This commit is contained in:
Christoph Moench-Tegeder 2020-04-27 07:58:12 +00:00
parent 7a48d696a0
commit fa2f6831bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533110
2 changed files with 8 additions and 6 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= FreeCAD
DISTVERSION= 0.18.4
PORTREVISION= 7
PORTREVISION= 8
# use these for bugfixes/snapshots
# DISTVERSION= 0.18-16093 # git rev-list --count
# DISTVERSIONSUFFIX= -g690774c0e
@ -24,7 +24,7 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
libCoin.so:graphics/Coin \
libpng.so:graphics/png \
libtiff.so:graphics/tiff \
libvtkFiltersTexture-8.1.so:math/vtk8 \
libvtkFiltersTexture-8.2.so:math/vtk8 \
libTKernel.so:cad/opencascade \
libxerces-c.so:textproc/xerces-c3 \
libboost_thread.so:devel/boost-libs \
@ -56,7 +56,8 @@ CMAKE_ARGS+= -DOCC_INCLUDE_DIR="${LOCALBASE}/include/OpenCASCADE" \
-DPYTHON_EXECUTABLE="${PYTHON_CMD}" \
-DBUILD_ASSEMBLY="OFF" -DBUILD_FLAT_MESH="ON" \
-DPYSIDE2RCCBINARY="${LOCALBASE}/bin/rcc" \
-DPYSIDE2UICBINARY="${LOCALBASE}/bin/uic"
-DPYSIDE2UICBINARY="${LOCALBASE}/bin/uic" \
-DVTK_DIR:PATH=${LOCALBASE}/lib/vtk-8.2/cmake/vtk-8.2
CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME}

View File

@ -3,7 +3,7 @@
PORTNAME= opencascade
PORTVERSION= 7.4.0
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= cad science
MASTER_SITES= LOCAL/thierry
@ -39,7 +39,7 @@ SHEBANG_FILES= adm/templates/*.sh \
gendoc
ENVSH= adm/templates/env.sh
VTKVER= 8.1
VTKVER= 8.2
OPTIONS_DEFINE= DOCS DOXYGEN FFMPEG VIS
VIS_DESC= Build Visualizazion module (requires OpenGL, freetype, ftgl and gl2ps)
@ -58,7 +58,8 @@ CMAKE_ARGS+= -DINSTALL_DIR=${OCCROOT} \
-DINSTALL_DIR_TESTS=${OCCROOT}/tests \
-DINSTALL_TEST_CASES:BOOL=ON \
-DUSE_TBB:BOOL=ON \
-DUSE_VTK:BOOL=ON
-DUSE_VTK:BOOL=ON \
-DVTK_DIR:PATH=${LOCALBASE}/lib/vtk-${VTKVER}/cmake/vtk-${VTKVER}
USE_LDCONFIG= yes