Ticket #27016: py26-mayavi_Portfile.diff
File py26-mayavi_Portfile.diff, 2.4 KB (added by jjstickel@…, 14 years ago) |
---|
-
python/py26-mayavi/Portfile
old new 5 5 PortGroup python26 1.0 6 6 7 7 name py26-mayavi 8 version 3. 3.28 version 3.4.1 9 9 categories-append devel graphics math 10 maintainers nomaintainer10 maintainers vcn.com:jjstickel openmaintainer 11 11 description The Enthought mayavi package 12 12 long_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. 13 rendering backend and wxpython or pyqt4 for the (G)UI. 16 14 17 15 platforms darwin 18 16 homepage http://code.enthought.com/projects/mayavi/ 19 17 master_sites http://www.enthought.com/repo/ETS/ 20 18 distname Mayavi-${version} 21 checksums md5 1cc31b3805631bbafd4adee95ec93a6822 19 23 depends_build-append port:py26-distribute 20 checksums md5 a6bb49b4448478664a719c44f72de750 \ 21 sha1 b4bf2e03bcea73dfb32a5e1052ff2df0ea618ab6 \ 22 rmd160 669d9c90bcc9bd67a1bd7b90bbafd314b849c20c 23 24 depends_build-append port:py26-distribute port:py26-sphinx 24 25 depends_lib-append port:vtk5 \ 25 26 port:py26-configobj port:py26-numpy \ 26 27 port:py26-apptools port:py26-envisageplugins port:py26-traitsgui 27 28 28 depends_run-append port:py26-ipython 29 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 #} 37 38 #patchfiles changeset_r24036.diff 39 #patch.pre_args -p3 29 patch { 30 reinplace "s|sphinx-build|sphinx-build-2.6|g" \ 31 ${worksrcpath}/docs/Makefile \ 32 ${worksrcpath}/docs/MakefileMayavi \ 33 ${worksrcpath}/docs/MakefileTVTK 34 } 35 36 # if variant dependencies or checking becomes possible, this can be improved 37 pre-configure { 38 ui_msg \ 39 "Note that VTK must be installed using the same framework (cocoa 40 OR x11/gtk) as that used for the GUI (wxwidgets/wxpython OR 41 qt4/pyqt4)." 42 }