Ticket #19567: py25-mayavi_Portfile

File py25-mayavi_Portfile, 1.3 KB (added by jjstickel@…, 15 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# JJS 6/1/09
3
4PortSystem      1.0
5PortGroup       python25 1.0
6
7name                py25-mayavi
8version             3.2.0
9categories-append   devel graphics math
10maintainers         vcn.com:jjstickel openmaintainer
11description         The Enthought mayavi package
12long_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.
15platforms           darwin
16homepage            http://code.enthought.com/projects/mayavi/
17master_sites        http://www.enthought.com/repo/ETS/
18distname            Mayavi-${version}
19checksums           md5 efd2de257e517de54f7697526de9a04c
20
21depends_build-append  port:py25-setuptools
22
23depends_lib-append    port:vtk5\
24    port:py25-configobj\
25    port:py25-numpy\
26    port:py25-apptools\
27    port:py25-envisageplugins\
28    port:py25-traitsgui
29
30depends_run-append    port:py25-ipython
31
32pre-fetch {
33    if {![file exists ${prefix}/include/vtk-5.2/vtkCarbonRenderWindow.h]} {
34        ui_error "vtk must be installed with the +carbon variant"
35        error "vtk must be installed with the +carbon variant"
36    }
37}
38
39patchfiles          changeset_r24036.diff
40patch.pre_args      -p3