Ticket #24249: patch-tmux-vim.diff

File patch-tmux-vim.diff, 1.2 KB (added by raimue (Rainer Müller), 14 years ago)
  • files/tmux.vim

     
     1autocmd BufRead,BufNewFile .tmux.conf setf tmux
  • Portfile

     
    44
    55name            tmux
    66version         1.2
     7revision        1
    78categories      sysutils
    89maintainers     toby
    910description     terminal multiplexer
     
    3536
    3637post-destroot {
    3738    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/tmux
    38     foreach file [glob ${worksrcpath}/examples/*] {
     39    foreach file [glob ${worksrcpath}/examples/*.conf] {
    3940        xinstall -m 0644 $file ${destroot}${prefix}/share/doc/tmux
    4041    }
     42    xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/syntax
     43    xinstall -m 0644 ${worksrcpath}/examples/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/syntax
     44    xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/ftdetect
     45    xinstall -m 0644 ${filespath}/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect
    4146}
    4247
    4348variant screen description "behave more like screen" {