aboutsummaryrefslogtreecommitdiff
path: root/math/vtk5/Makefile
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-04-15 13:21:22 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-04-15 13:21:22 +0000
commit1dc5b6fe0a890ffa2db2e5aac8ead79ffe950de8 (patch)
tree066912ac67bf7cbfc66af8f69a32df0bd68afabf /math/vtk5/Makefile
parent2dcf4be8df1c1d8de76632ce22bac1bf598ba08c (diff)
downloadports-1dc5b6fe0a890ffa2db2e5aac8ead79ffe950de8.tar.gz
ports-1dc5b6fe0a890ffa2db2e5aac8ead79ffe950de8.zip
Notes
Diffstat (limited to 'math/vtk5/Makefile')
-rw-r--r--math/vtk5/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index 1b72fa5d7fec..881c144261a7 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -3,7 +3,7 @@
PORTNAME= vtk
PORTVERSION= 5.10.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math graphics
MASTER_SITES= http://www.vtk.org/files/release/${PORTVERSION:R}/
PKGNAMESUFFIX= 5
@@ -19,7 +19,6 @@ LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \
libpng15.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff
-BROKEN= Violates stage and fails to package
WRKSRC= ${WRKDIR}/VTK${PORTVERSION}
CONFLICTS= vtk-4*
@@ -33,7 +32,7 @@ CXXFLAGS+= -DUSE_INTERP_ERRORLINE
OPTIONS_DEFINE= SHARED THEORA VTKMPEG2 GL2PS OSMESA QT4 JAVA \
PYTHON TCLTK DBGLEAKS LEGACY
-OPTIONS_DEFAULT=SHARED GL2PS QT4 PYTHON TCLTK LEGACY
+OPTIONS_DEFAULT=SHARED GL2PS QT4 TCLTK LEGACY
SHARED_DESC= Build shared libraries
VTKMPEG2_DESC= Patented MPEG2 encoder module
@@ -140,6 +139,7 @@ PLIST_SUB+= QT="@comment "
.endif
.if ${PORT_OPTIONS:MPYTHON}
+IGNORE= python wrapping does not stage properly
.if ${PORT_OPTIONS:MSHARED} == ""
IGNORE= python wrapping requires shared libraries.\
Run make config again and enable the SHARED option
@@ -148,7 +148,7 @@ USE_PYTHON= yes
PYDISTUTILS_PKGNAME= VTK
INSTALLS_EGGINFO= yes
CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=ON \
- -DVTK_PYTHON_SETUP_ARGS:STRING='--prefix="${PREFIX}"'
+ -DVTK_PYTHON_SETUP_ARGS:STRING='--prefix="${PREFIX}"'
PLIST_SUB+= PYTHON=""
.else
CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=OFF
@@ -274,6 +274,7 @@ post-install:
done
.endif
.endif
+
.if ${PORT_OPTIONS:MVTKMPEG2}
@${ECHO_CMD}
@${ECHO_CMD} "This port uses the patented MPEG2 encoder."