aboutsummaryrefslogtreecommitdiffstats
path: root/science/paraview
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2006-01-21 14:58:47 +0800
committeranholt <anholt@FreeBSD.org>2006-01-21 14:58:47 +0800
commit5216fa55cb652371bd50833d950337d0d2db4c03 (patch)
treeeb286d07e3ceb83b6c2cfcdf31ed55aaee17161c /science/paraview
parent7ba222c7b1ae92662ba80876082d4c5c47f7cd78 (diff)
downloadfreebsd-ports-gnome-5216fa55cb652371bd50833d950337d0d2db4c03.tar.gz
freebsd-ports-gnome-5216fa55cb652371bd50833d950337d0d2db4c03.tar.zst
freebsd-ports-gnome-5216fa55cb652371bd50833d950337d0d2db4c03.zip
[1] Update to 2.4.2
[2] Install shared libraries and some cmake files so ports depending on paraview can build. Not very tested, because it crashes my X Server (oops), though I suspect the previous version would have as well if I'd pre-tested. PR: [2] 91885 Submitted by: [2] Thierry
Diffstat (limited to 'science/paraview')
-rw-r--r--science/paraview/Makefile15
-rw-r--r--science/paraview/distinfo6
-rw-r--r--science/paraview/pkg-plist61
3 files changed, 78 insertions, 4 deletions
diff --git a/science/paraview/Makefile b/science/paraview/Makefile
index 17b9cda3be8d..ec381b09e7dc 100644
--- a/science/paraview/Makefile
+++ b/science/paraview/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= paraview
-PORTVERSION= 2.4.1
+PORTVERSION= 2.4.2
CATEGORIES= science graphics
MASTER_SITES= http://www.paraview.org/files/v2.4/
@@ -20,6 +20,9 @@ USE_GL= yes
WRKSRC= ${WRKDIR}/${DISTNAME}-build
PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
PLIST_SUB+= VERMAJORMINOR=2.4
+CMAKE2INST= Utilities/ParaViewConfig.cmake ParaViewConfig.cmake \
+ ParaViewLibraryDepends.cmake cmake_install.cmake
+LIB_INSTDIR= ${PREFIX}/lib/${PORTNAME}-${PORTVERSION:R}
do-configure:
${MKDIR} ${WRKSRC}
@@ -31,6 +34,16 @@ do-configure:
-DCMAKE_C_FLAGS="${CFLAGS} -I${X11BASE}/include" \
-DCMAKE_CXX_FLAGS="${CXXFLAGS} -I${X11BASE}/include" \
-DPARAVIEW_USE_SYSTEM_HDF5=1 \
+ -DBUILD_SHARED_LIBS="ON" \
-DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1
+post-install:
+.for c2f in ${CMAKE2INST}
+ ${SED} -e 's|${PATCH_WRKSRC}|${LIB_INSTDIR}|g' \
+ -e 's|${WRKSRC}|${LIB_INSTDIR}|g' \
+ ${WRKSRC}/${c2f} > ${LIB_INSTDIR}/`${BASENAME} ${c2f}`
+.endfor
+ ${INSTALL_DATA} ${PATCH_WRKSRC}/ParaViewUse.cmake \
+ ${PREFIX}/lib/${PORTNAME}-${PORTVERSION:R}
+
.include <bsd.port.mk>
diff --git a/science/paraview/distinfo b/science/paraview/distinfo
index dc2d5b91e108..5df52afd8871 100644
--- a/science/paraview/distinfo
+++ b/science/paraview/distinfo
@@ -1,3 +1,3 @@
-MD5 (paraview-2.4.1.tar.gz) = 2fa740f37e8a401511e95431eaead967
-SHA256 (paraview-2.4.1.tar.gz) = 97c3959eb5f6b290aa3ec5d379900b35b25fb0dd5f221fc792ad4f8010c34205
-SIZE (paraview-2.4.1.tar.gz) = 45370754
+MD5 (paraview-2.4.2.tar.gz) = ba116478de58e88d125e77c9f52b0072
+SHA256 (paraview-2.4.2.tar.gz) = a0e02c9284c38515507535aac0d6de8b515298c1a43ec992f3e706651dbd66c3
+SIZE (paraview-2.4.2.tar.gz) = 45366828
diff --git a/science/paraview/pkg-plist b/science/paraview/pkg-plist
index cf0469c756e3..ea22ea85b07b 100644
--- a/science/paraview/pkg-plist
+++ b/science/paraview/pkg-plist
@@ -4,12 +4,73 @@ bin/pvclient
bin/pvdataserver
bin/pvrenderserver
bin/pvserver
+lib/paraview-%%VERMAJORMINOR%%/ParaViewConfig.cmake
+lib/paraview-%%VERMAJORMINOR%%/ParaViewLibraryDepends.cmake
+lib/paraview-%%VERMAJORMINOR%%/ParaViewUse.cmake
lib/paraview-%%VERMAJORMINOR%%/ServerManager/Resources/filters.xml
lib/paraview-%%VERMAJORMINOR%%/ServerManager/Resources/readers.xml
lib/paraview-%%VERMAJORMINOR%%/ServerManager/Resources/rendering.xml
lib/paraview-%%VERMAJORMINOR%%/ServerManager/Resources/sources.xml
lib/paraview-%%VERMAJORMINOR%%/ServerManager/Resources/utilities.xml
lib/paraview-%%VERMAJORMINOR%%/ServerManager/Resources/writers.xml
+lib/paraview-%%VERMAJORMINOR%%/cmake_install.cmake
+lib/paraview-%%VERMAJORMINOR%%/libKWCommon.so
+lib/paraview-%%VERMAJORMINOR%%/libKWWidgets.so
+lib/paraview-%%VERMAJORMINOR%%/libSPCTH.so
+lib/paraview-%%VERMAJORMINOR%%/libXdmf.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkClientServer.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkCommon.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkCommonCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkCommonTCL.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkDICOMParser.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkFiltering.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkFilteringCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkGenericFiltering.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkGenericFilteringCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkGraphics.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkGraphicsCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkHybrid.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkHybridCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkIO.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkIOCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkImaging.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkImagingCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkKWParaView.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkKWParaViewCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkMPEG2Encode.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkNetCDF.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkPVFilters.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkPVFiltersCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkPVServerCommon.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkPVServerCommonCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkPVServerCommonTCL.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkPVServerManager.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkPVServerManagerTCL.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkParallel.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkParallelCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkRendering.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkRenderingCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkVolumeRendering.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkVolumeRenderingCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkWidgets.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkWidgetsCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkXdmf.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkXdmfCS.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkexoIIc.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkexpat.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkfreetype.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkftgl.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkjpeg.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkpng.so
+lib/paraview-%%VERMAJORMINOR%%/libvtksys.so
+lib/paraview-%%VERMAJORMINOR%%/libvtktiff.so
+lib/paraview-%%VERMAJORMINOR%%/libvtkzlib.so
+lib/paraview-%%VERMAJORMINOR%%/paraview-real
+lib/paraview-%%VERMAJORMINOR%%/pvbatch-real
+lib/paraview-%%VERMAJORMINOR%%/pvclient-real
+lib/paraview-%%VERMAJORMINOR%%/pvdataserver-real
+lib/paraview-%%VERMAJORMINOR%%/pvrenderserver-real
+lib/paraview-%%VERMAJORMINOR%%/pvserver-real
lib/paraview-%%VERMAJORMINOR%%/tcl/kwwidgets/kwwidgets.tcl
lib/paraview-%%VERMAJORMINOR%%/tcl/pkgIndex.tcl
lib/paraview-%%VERMAJORMINOR%%/tcl8.4/auto.tcl