aboutsummaryrefslogtreecommitdiff
path: root/math/vtk5
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2010-04-09 15:00:57 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2010-04-09 15:00:57 +0000
commit99da1ec188034b06fb83140fe8acf8e7532ca21d (patch)
treeab42c645d6dc669bdbf20585a795d52466cdabeb /math/vtk5
parent316c4e9579cb2d3b1c6cbf8e23d86f20ee26335c (diff)
downloadports-99da1ec188034b06fb83140fe8acf8e7532ca21d.tar.gz
ports-99da1ec188034b06fb83140fe8acf8e7532ca21d.zip
Notes
Diffstat (limited to 'math/vtk5')
-rw-r--r--math/vtk5/Makefile6
-rw-r--r--math/vtk5/pkg-plist4
2 files changed, 10 insertions, 0 deletions
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index 6e1eb3a105ef..d097e7394c62 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -171,6 +171,12 @@ post-patch:
${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/IO/vtkPNGReader.cxx
+post-configure:
+.if defined(WITH_WRAP_JAVA)
+ ${REINPLACE_CMD} -e 's|$$|-L/usr/local/${JAVA_HOME}/jre/lib/${ARCH} -ljawt|' \
+ ${CONFIGURE_WRKSRC}/Wrapping/Java/CMakeFiles/VTKJavaExecutable.dir/link.txt
+.endif
+
pre-install:
.if defined(WITH_PYTHON)
${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
diff --git a/math/vtk5/pkg-plist b/math/vtk5/pkg-plist
index 4de6b29e5b34..1724dad09bf1 100644
--- a/math/vtk5/pkg-plist
+++ b/math/vtk5/pkg-plist
@@ -264,6 +264,10 @@
%%JAVA%%lib/vtk-%%VER2%%/libvtkInfovisJava.so.%%VER1%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkInfovisJava.so.%%VER2%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkInfovisJava.so.%%VER3%%
+%%JAVA%%lib/vtk-%%VER2%%/libvtkParallelJava.so
+%%JAVA%%lib/vtk-%%VER2%%/libvtkParallelJava.so.%%VER1%%
+%%JAVA%%lib/vtk-%%VER2%%/libvtkParallelJava.so.%%VER2%%
+%%JAVA%%lib/vtk-%%VER2%%/libvtkParallelJava.so.%%VER3%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkRenderingJava.so
%%JAVA%%lib/vtk-%%VER2%%/libvtkRenderingJava.so.%%VER1%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkRenderingJava.so.%%VER2%%