Ticket #33276: Portfile-vtk5.diff

File Portfile-vtk5.diff, 1.2 KB (added by mroman@…, 13 years ago)
  • (a) Portfile-vtk5 vs. (b) /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/vtk5/Portfile

    a b  
    55PortGroup   cmake 1.0
    66
    77name        vtk5
    8 version     5.6.1
     8version     5.8.0
    99set branch  [join [lrange [split ${version} .] 0 1] .]
    1010categories  graphics devel
    1111maintainers adfernandes openmaintainer
     
    2222
    2323distfiles           [suffix vtk-${version}]
    2424checksums           [suffix vtk-${version}] \
    25                     md5     b80a76435207c5d0f74dfcab15b75181 \
    26                     sha1    6d4d0de3b468828f21f70c5af5e37f9412ee59c5 \
    27                     rmd160  ac1864c9604d843ab9c654c67109f4f1487acaee
     25                        md5     37b7297d02d647cc6ca95b38174cb41f \
     26                    sha1    ece52f4fa92811fe927581e60ecb39a8a5f68cd9 \
     27                                        rmd160  f100af93c4a4fc6a601aef563d3dd846d7aee914
    2828
    2929depends_build-append    port:readline
    3030distname    VTK
     
    7272    default_variants +x11 +tcltk
    7373}
    7474
    75 if {![variant_isset python25] && ![variant_isset python27]} {
    76     default_variants +python26
     75if {![variant_isset python25] && ![variant_isset python26]} {
     76    default_variants +python27
    7777}
    7878
    7979post-destroot {