mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Update to 3.10.1
Fix PORTSDOC usage/functionality PR: ports/159334 Submitted by: Stas Timokhin <devel@stasyan.com> (maintainer) Approved by: wxs (mentor)
This commit is contained in:
parent
87c5ee7e4a
commit
c316fbebbb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279857
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= paraview
|
||||
PORTVERSION= 3.10.0
|
||||
PORTVERSION= 3.10.1
|
||||
CATEGORIES= science graphics
|
||||
MASTER_SITES= http://www.paraview.org/files/v${VERMAJORMINOR}/
|
||||
DISTNAME= ParaView-${PORTVERSION}
|
||||
@ -14,7 +14,7 @@ DISTNAME= ParaView-${PORTVERSION}
|
||||
MAINTAINER= devel@stasyan.com
|
||||
COMMENT= Powerful scientific data visualization application
|
||||
|
||||
LIB_DEPENDS= hdf5.0:${PORTSDIR}/science/hdf5 \
|
||||
LIB_DEPENDS= hdf5.7:${PORTSDIR}/science/hdf5-18 \
|
||||
png.6:${PORTSDIR}/graphics/png \
|
||||
jpeg.11:${PORTSDIR}/graphics/jpeg \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||
@ -30,6 +30,7 @@ USE_GL= yes
|
||||
USE_XORG= x11 xt
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_PYTHON= yes
|
||||
USE_CMAKE= yes
|
||||
#CONFLICTS= vtk-5.*
|
||||
CMAKE_ARGS+= -DPARAVIEW_USE_SYSTEM_HDF5=1 \
|
||||
@ -45,8 +46,8 @@ CMAKE_ARGS+= -DPARAVIEW_USE_SYSTEM_HDF5=1 \
|
||||
-DQT_ASSISTANT_EXECUTABLE="${LOCALBASE}/bin/assistant-qt4" \
|
||||
-DVTK_INSTALL_QT_PLUGIN_DIR="${PREFIX}/${QT_PLUGINDIR_REL}/designer" \
|
||||
-DPARAVIEW_INSTALL_DEVELOPMENT="ON" \
|
||||
-DPV_INSTALL_DOC_DIR=${DOCSDIR} \
|
||||
-DPARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES="OFF"
|
||||
-DPARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES="OFF" \
|
||||
-DPARAVIEW_ENABLE_PYTHON:BOOL="ON"
|
||||
# -DVTK_PYTHON_INCLUDE_PATH=${PYTHON_INCLUDEDIR} \
|
||||
# -DPYTHON_INCLUDE_PATH:FILEPATH=${PYTHON_INCLUDEDIR} \
|
||||
# -DVTK_WRAP_PYTHON:BOOL=ON \
|
||||
@ -61,6 +62,13 @@ VERMAJORMINOR= ${PORTVERSION:R}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# Simple solution to avoid lots of patching to support NOPORTDOCS
|
||||
.if !defined(NOPORTDOCS)
|
||||
CMAKE_ARGS+= -DPV_INSTALL_DOC_DIR=${DOCSDIR}
|
||||
.else
|
||||
CMAKE_ARGS+= -DPV_INSTALL_DOC_DIR=${WRKDIR}
|
||||
.endif
|
||||
|
||||
.if defined(WITH_OSMESA)
|
||||
LIB_DEPENDS+= OSMesa32.7:${PORTSDIR}/graphics/libosmesa
|
||||
CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (ParaView-3.10.0.tar.gz) = fcd00d66cd0ccd046374d9887d510d779db66ff7e3943101e8be64ba8e3d9100
|
||||
SIZE (ParaView-3.10.0.tar.gz) = 39694496
|
||||
SHA256 (ParaView-3.10.1.tar.gz) = 453deee23b6fa62ecb010d951adbc49e740dcb8875680725f93b8f76b9df5cfc
|
||||
SIZE (ParaView-3.10.1.tar.gz) = 40696006
|
||||
|
@ -1,20 +1,11 @@
|
||||
--- CMakeLists.txt.orig 2011-04-04 13:38:07.000000000 +0700
|
||||
+++ CMakeLists.txt 2011-04-04 13:38:21.000000000 +0700
|
||||
@@ -382,7 +382,7 @@
|
||||
SET(cmakeDevFiles
|
||||
${ParaView_CMAKE_DIR}/branded_splash.png
|
||||
${ParaView_SOURCE_DIR}/ParaViewUse.cmake
|
||||
- ${ParaView_BINARY_DIR}/ParaViewLibraryDepends.cmake
|
||||
+# ${ParaView_BINARY_DIR}/ParaViewLibraryDepends.cmake
|
||||
${ParaView_CMAKE_DIR}/ParaViewMacros.cmake
|
||||
${ParaView_CMAKE_DIR}/ParaViewPlugins.cmake
|
||||
${ParaView_CMAKE_DIR}/ParaViewBranding.cmake
|
||||
@@ -449,7 +449,7 @@
|
||||
SET(PARAVIEW_SMTESTDRIVER_EXECUTABLE "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_BIN_DIR}/smTestDriver${PV_EXE_SUFFIX}")
|
||||
SET(PARAVIEW_SERVER_MANAGER_RESOURCES_DIRECTORY "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_LIB_DIR}/Servers/ServerManager/Resources")
|
||||
SET(VTKCS_CONFIG_DIR "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_CMAKE_DIR}")
|
||||
- SET(PARAVIEW_LIBRARY_DEPENDS_FILE "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_CMAKE_DIR}/ParaViewLibraryDepends.cmake")
|
||||
+# SET(PARAVIEW_LIBRARY_DEPENDS_FILE "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_CMAKE_DIR}/ParaViewLibraryDepends.cmake")
|
||||
SET(PARAVIEW_TARGETS_FILE "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_CMAKE_DIR}/${PV_INSTALL_EXPORT_NAME}.cmake")
|
||||
SET(VTK_MAKE_INSTANTIATOR "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_CMAKE_DIR}")
|
||||
|
||||
--- CMakeLists.txt.orig 2011-04-13 23:16:44.000000000 +0700
|
||||
+++ CMakeLists.txt 2011-07-31 10:18:50.000000000 +0700
|
||||
@@ -429,7 +429,7 @@
|
||||
SET(SOURCE_TREE ${ParaView_SOURCE_DIR})
|
||||
SET(BUILD_TREE ${ParaView_BINARY_DIR})
|
||||
SET(ParaView_CMAKE_DIR "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_CMAKE_DIR}")
|
||||
- SET(ParaView_BINARY_DIR "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_BIN_DIR}")
|
||||
+ #SET(ParaView_BINARY_DIR "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_BIN_DIR}")
|
||||
SET(PARAVIEW_USE_FILE "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_CMAKE_DIR}/ParaViewUse.cmake")
|
||||
SET(PARAVIEW_VTK_DIR "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_LIB_DIR}")
|
||||
SET(VTK_WRAP_ClientServer_EXE_CONFIG "\${ParaView_INSTALL_PREFIX}/${PV_INSTALL_BIN_DIR}/vtkWrapClientServer")
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user