Ticket #7986: patch-Portfile.diff

File patch-Portfile.diff, 1.2 KB (added by cssdev@…, 19 years ago)

VTK Portfile patch

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/graphics/vtk/Portfile,v
    retrieving revision 1.9
    diff -u -r1.9 Portfile
     
    33PortSystem 1.0
    44name            VTK
    55version         4.2.6
    6 revision        1
     6revision        2
    77categories      graphics
    88maintainers     cssdev@mac.com
    99description     3D visualization toolkit
     
    1515
    1616homepage        http://www.vtk.org/
    1717platforms       darwin freebsd
    18 master_sites    sourceforge:vtk
     18# 2006-04-03: Disable sourceforge fetching until BUG #7484 is fixed.
     19# master_sites  sourceforge:vtk
     20# distfiles     ${name}-4.2-LatestRelease${extract.suffix}
     21master_sites    http://www.vtk.org/files/release/4.2/moved_to_sourceforge/
     22distfiles       ${name}-${version}${extract.suffix}
    1923checksums       md5 41382fb3f8d15e76d7464c11045ee7a5
     24distname        ${name}
    2025
    2126depends_build   bin:cmake:cmake
    22 distfiles       ${name}-4.2-LatestRelease${extract.suffix}
    23 distname        ${name}
    2427
    2528post-extract {
    2629    set fl [open "| grep VTK_BUILD_VERSION ${worksrcpath}/CMakeLists.txt | grep 6"]
     
    6871                                -D OPENGL_gl_LIBRARY:FILEPATH=/usr/X11R6/lib/libGL.dylib \
    6972                                -D OPENGL_glu_LIBRARY:FILEPATH=/usr/X11R6/lib/libGLU.dylib
    7073}
    71 
    72