Ticket #21994: py26-mayavi_Portfile.diff

File py26-mayavi_Portfile.diff, 1.6 KB (added by jjstickel@…, 15 years ago)
  • python/py26-mayavi/Portfile

    old new  
    99categories-append   devel graphics math
    1010maintainers         nomaintainer
    1111description         The Enthought mayavi package
    12 long_description    3D Scientific Data Visualization and Plotting using VTK \
    13     as the rendering backend and (wx)python for the (G)UI. \
    14     VTK must be compiled using carbon.
     12long_description    3D Scientific Data Visualization and Plotting using VTK as the \
     13    rendering backend and (wx)python for the (G)UI. VTK must be \
     14    installed using the same framework (cocoa, carbon, x11/gtk) as wxWidgets \
     15    and wxPython.
     16
    1517platforms           darwin
    1618homepage            http://code.enthought.com/projects/mayavi/
    1719master_sites        http://www.enthought.com/repo/ETS/
     
    2527
    2628depends_run-append    port:py26-ipython
    2729
    28 pre-fetch {
    29     if {![file exists ${prefix}/include/vtk-5.2/vtkCarbonRenderWindow.h]} {
    30         ui_error "vtk must be installed with the +carbon variant"
    31         error "vtk must be installed with the +carbon variant"
    32     }
    33 }
     30# How to check for the framework used to install vtk and wxWidgets?
     31#pre-fetch {
     32#    if {![file exists ${prefix}/include/vtk-5.2/vtkCarbonRenderWindow.h]} {
     33#        ui_error "vtk must be installed with the +carbon variant"
     34#        error "vtk must be installed with the +carbon variant"
     35#    }
     36#}
    3437
    3538patchfiles          changeset_r24036.diff
    3639patch.pre_args      -p3