Ticket #24251: patch-cmake-vim.diff

File patch-cmake-vim.diff, 882 bytes (added by raimue (Rainer Müller), 14 years ago)
  • Portfile

     
    66
    77name            cmake
    88version         2.8.1
     9revision        1
    910categories      devel
    1011maintainers     css
    1112description     Cross-platform make
     
    3435        xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp
    3536        xinstall -m 0644 ${worksrcpath}/Docs/cmake-mode.el \
    3637                ${destroot}${prefix}/share/emacs/site-lisp
    37         xinstall -d -m 0755 ${destroot}${prefix}/share/doc/cmake
    38         xinstall -m 0644 -W ${worksrcpath}/Docs cmake-indent.vim \
    39                 cmake-syntax.vim ${destroot}${prefix}/share/doc/cmake
     38        foreach type {syntax indent} {
     39                xinstall -d -m 0755 ${destroot}${prefix}/share/vim/vimfiles/${type}
     40                xinstall -m 0644 -W ${worksrcpath}/Docs cmake-${type}.vim \
     41                        ${destroot}${prefix}/share/vim/vimfiles/${type}
     42        }
    4043}
    4144
    4245livecheck.type  regex