diff options
author | anholt <anholt@FreeBSD.org> | 2006-09-01 14:22:21 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2006-09-01 14:22:21 +0800 |
commit | df27906d462047b37374b996ca1f74d37135349e (patch) | |
tree | abd088e2fc3df939719803c1ee8d42f6c8f78732 /science/paraview | |
parent | 87860ce67dcee7dfa72eb7fc824f43444a492a08 (diff) | |
download | freebsd-ports-gnome-df27906d462047b37374b996ca1f74d37135349e.tar.gz freebsd-ports-gnome-df27906d462047b37374b996ca1f74d37135349e.tar.zst freebsd-ports-gnome-df27906d462047b37374b996ca1f74d37135349e.zip |
Update to 2.4.4, and drop maintainership since I'm not giving this port the
love it needs.
PR: ports/101533
Submitted by: thierry
Diffstat (limited to 'science/paraview')
-rw-r--r-- | science/paraview/Makefile | 7 | ||||
-rw-r--r-- | science/paraview/distinfo | 6 | ||||
-rw-r--r-- | science/paraview/files/patch-CMakeLists.txt | 17 | ||||
-rw-r--r-- | science/paraview/files/patch-GUI_Widgets_CMakeLists.txt | 21 | ||||
-rw-r--r-- | science/paraview/files/patch-VTK_CMake_CMakeLists.txt | 11 | ||||
-rw-r--r-- | science/paraview/files/patch-VTK_CMake_FindPNG.cmake | 30 |
6 files changed, 87 insertions, 5 deletions
diff --git a/science/paraview/Makefile b/science/paraview/Makefile index 295121d071cb..dfc5e52222e3 100644 --- a/science/paraview/Makefile +++ b/science/paraview/Makefile @@ -6,11 +6,11 @@ # PORTNAME= paraview -PORTVERSION= 2.4.3 +PORTVERSION= 2.4.4 CATEGORIES= science graphics MASTER_SITES= http://www.paraview.org/files/v2.4/ -MAINTAINER= anholt@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= ParaView is a powerful scientific data visualization application BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake @@ -22,6 +22,8 @@ LIB_DEPENDS= hdf5.0:${PORTSDIR}/science/hdf5 \ expat.6:${PORTSDIR}/textproc/expat2 USE_GL= yes +USE_GMAKE= yes + WRKSRC= ${WRKDIR}/${DISTNAME}-build PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} PLIST_SUB+= VERMAJORMINOR=2.4 @@ -50,6 +52,7 @@ do-configure: -DVTK_USE_SYSTEM_ZLIB="ON" \ -DVTK_USE_SYSTEM_FREETYPE="ON" \ -DVTK_USE_SYSTEM_EXPAT="ON" \ + -DVTK_USE_X="ON" \ -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1 post-install: diff --git a/science/paraview/distinfo b/science/paraview/distinfo index bcfc0f6cf7cf..0aecfba67afc 100644 --- a/science/paraview/distinfo +++ b/science/paraview/distinfo @@ -1,3 +1,3 @@ -MD5 (paraview-2.4.3.tar.gz) = db4e6974d8bba12de8a50748161b3f42 -SHA256 (paraview-2.4.3.tar.gz) = e84e984a31cbfb332706c3038f22ab92ffaae18e1edd3024fdba6a9f242cffc7 -SIZE (paraview-2.4.3.tar.gz) = 45423483 +MD5 (paraview-2.4.4.tar.gz) = 7f8e926542268546563e8e8c1d4ad852 +SHA256 (paraview-2.4.4.tar.gz) = 2af388f046ceeff87fa6241ce91bfb55ac090c47f817486f130b7c8714aa8b1e +SIZE (paraview-2.4.4.tar.gz) = 45431692 diff --git a/science/paraview/files/patch-CMakeLists.txt b/science/paraview/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..acd296951cfd --- /dev/null +++ b/science/paraview/files/patch-CMakeLists.txt @@ -0,0 +1,17 @@ +--- ./CMakeLists.txt.orig Thu Jun 29 15:01:13 2006 ++++ ./CMakeLists.txt Sun Aug 6 00:22:36 2006 +@@ -318,9 +318,12 @@ + SET(ICET_MPI_MAX_NUMPROCS "${VTK_MPI_MAX_NUMPROCS}" CACHE INTERNAL + "This is set from VTK_MPI_MAX_NUMPROCS.") + ++IF(VTK_USE_X) ++ FIND_PACKAGE(X11) ++ SET(VTK_INCLUDE_DIR ${X11_INCLUDE_DIR}) ++ENDIF(VTK_USE_X) + +- +-SET(VTK_INCLUDE_DIR ++SET(VTK_INCLUDE_DIR ${VTK_INCLUDE_DIR} + ${ParaView_SOURCE_DIR}/VTK + ${ParaView_BINARY_DIR}/VTK + ${ParaView_SOURCE_DIR}/VTK/Utilities diff --git a/science/paraview/files/patch-GUI_Widgets_CMakeLists.txt b/science/paraview/files/patch-GUI_Widgets_CMakeLists.txt new file mode 100644 index 000000000000..518b44cfcdba --- /dev/null +++ b/science/paraview/files/patch-GUI_Widgets_CMakeLists.txt @@ -0,0 +1,21 @@ +--- ./GUI/Widgets/CMakeLists.txt.orig Thu Oct 20 16:32:11 2005 ++++ ./GUI/Widgets/CMakeLists.txt Sun Aug 6 10:38:41 2006 +@@ -397,7 +397,17 @@ + TARGET_LINK_LIBRARIES (KWWidgets vtkParallel) + ENDIF(VTK_USE_PARALLEL OR VTK_USE_PARALLEL_ISSET) + ENDIF(VTK_WRAP_TCL) +-TARGET_LINK_LIBRARIES (KWWidgets png) ++ ++IF(VTK_USE_SYSTEM_PNG) ++ TARGET_LINK_LIBRARIES (KWWidgets png) ++ INCLUDE_DIRECTORIES( ++ ${KWWidgets_INCLUDE_PATH} ++ ${VTK_INCLUDE_DIR} ++ ${PNG_INCLUDE_DIR} ++ ) ++ELSE(VTK_USE_SYSTEM_PNG) ++ TARGET_LINK_LIBRARIES (KWWidgets vtkpng) ++ENDIF(VTK_USE_SYSTEM_PNG) + + # We need KWSys + diff --git a/science/paraview/files/patch-VTK_CMake_CMakeLists.txt b/science/paraview/files/patch-VTK_CMake_CMakeLists.txt new file mode 100644 index 000000000000..855a77eeef4f --- /dev/null +++ b/science/paraview/files/patch-VTK_CMake_CMakeLists.txt @@ -0,0 +1,11 @@ +--- ./VTK/CMake/CMakeLists.txt.orig Mon Mar 15 16:01:43 2004 ++++ ./VTK/CMake/CMakeLists.txt Sun Aug 6 09:30:22 2006 +@@ -33,8 +33,6 @@ + + # Remove any existing flag. + SET(CMAKE_ABI_VARS +- CMAKE_C_FLAGS +- CMAKE_CXX_FLAGS + CMAKE_EXE_LINKER_FLAGS + CMAKE_SHARED_LINKER_FLAGS + CMAKE_MODULE_LINKER_FLAGS diff --git a/science/paraview/files/patch-VTK_CMake_FindPNG.cmake b/science/paraview/files/patch-VTK_CMake_FindPNG.cmake new file mode 100644 index 000000000000..764a7e2b166e --- /dev/null +++ b/science/paraview/files/patch-VTK_CMake_FindPNG.cmake @@ -0,0 +1,30 @@ +--- ./VTK/CMake/FindPNG.cmake.orig Thu Jan 1 00:00:00 1970 ++++ ./VTK/CMake/FindPNG.cmake Sun Aug 6 10:16:48 2006 +@@ -0,0 +1,27 @@ ++# ++# Find the native PNG includes and library ++# ++# This module defines ++# PNG_INCLUDE_DIR, where to find png.h, etc. ++# PNG_LIBRARIES, the libraries to link against to use PNG. ++# PNG_FOUND, If false, do not try to use PNG. ++ ++# also defined, but not for general use are ++# PNG_LIBRARY, where to find the PNG library. ++ ++FIND_PATH(PNG_INCLUDE_DIR png.h ++ /usr/local/include ++ /usr/include ++) ++ ++FIND_LIBRARY(PNG_LIBRARY png ++ /usr/lib ++ /usr/local/lib ++) ++ ++IF(PNG_INCLUDE_DIR) ++ IF(PNG_LIBRARY) ++ SET( PNG_FOUND "YES" ) ++ SET( PNG_LIBRARIES ${PNG_LIBRARY} ) ++ ENDIF(PNG_LIBRARY) ++ENDIF(PNG_INCLUDE_DIR) |