Ticket #46853: vtk.diff
File vtk.diff, 2.4 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
/opt/local/var/macports/sources/
old new 6 6 7 7 name vtk 8 8 version 6.2.0 9 revision 09 revision 1 10 10 categories graphics devel 11 11 platforms darwin 12 12 license BSD … … 48 48 } 49 49 50 50 # As proposed at #46853 51 variant qt4 description {Add Qt4 support.} { 51 variant qt4 conflicts qt5 description {Add Qt4 support.} { 52 replaced_by ${name}-qt4 53 PortGroup obsolete 1.0 54 } 55 56 subport ${name}-qt4 { 52 57 PortGroup qt4 1.0 58 conflicts ${name} ${name}-qt5 59 description ${description}. Built with Qt4 support. 60 long_description ${long_description} Built with Qt4 support. 53 61 configure.args-append \ 54 62 -DQT_QMAKE_EXECUTABLE:PATH=${qt_qmake_cmd} \ 55 -DVTK_Group_Qt:BOOL=ON 63 -DVTK_Group_Qt:BOOL=ON \ 64 -DVTK_INSTALL_QT_PLUGIN_DIR:PATH=${qt_plugins_dir}/designer 65 } 66 67 variant qt5 conflicts qt4 description {Add Qt5 support.} { 68 replaced_by ${name}-qt5 69 PortGroup obsolete 1.0 56 70 } 57 71 58 variant qt5 description {Add Qt5 support.}{72 subport ${name}-qt5 { 59 73 PortGroup qt5 1.0 74 conflicts ${name} ${name}-qt4 75 description ${description}. Built with Qt5 support. 76 long_description ${long_description} Built with Qt5 support. 77 configure.args-append \ 78 -DQT_QMAKE_EXECUTABLE:PATH=${qt_qmake_cmd} \ 79 -DVTK_Group_Qt:BOOL=ON \ 80 -DVTK_INSTALL_QT_PLUGIN_DIR:PATH=${qt_plugins_dir}/designer 60 81 } 61 82 62 83 variant python27 description {Add Python 2.7 support.} { … … 69 90 -DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages 70 91 } 71 92 93 post-destroot { 94 if {[info exists qt_plugins_dir]} { 95 if {[file exists ${destroot}${qt_plugins_dir}/designer/libQVTKWidgetPlugin.dylib]} { 96 system "install_name_tool -id libQVTKWidgetPlugin.dylib \ 97 ${destroot}${qt_plugins_dir}/designer/libQVTKWidgetPlugin.dylib" 98 } 99 } 100 } 101 72 102 default_variants +python27 73 103 74 104 livecheck.type regex