[147761] trunk/dports/sysutils/tmux

khindenburg at macports.org khindenburg at macports.org
Thu Apr 14 19:37:46 PDT 2016


Revision: 147761
          https://trac.macports.org/changeset/147761
Author:   khindenburg at macports.org
Date:     2016-04-14 19:37:46 -0700 (Thu, 14 Apr 2016)
Log Message:
-----------
tmux: update to 2.2; -devel to 20160410; maintainer #51143

Modified Paths:
--------------
    trunk/dports/sysutils/tmux/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/tmux/files/tmux.vim

Modified: trunk/dports/sysutils/tmux/Portfile
===================================================================
--- trunk/dports/sysutils/tmux/Portfile	2016-04-15 01:33:14 UTC (rev 147760)
+++ trunk/dports/sysutils/tmux/Portfile	2016-04-15 02:37:46 UTC (rev 147761)
@@ -4,14 +4,14 @@
 PortSystem      1.0
 PortGroup       github 1.0
 
-github.setup    tmux tmux 2.1
+github.setup    tmux tmux 2.2
 if {${subport} eq ${name}} {
-    revision        3
+    revision        0
     conflicts       tmux-devel
 }
 subport tmux-devel {
-    github.setup    tmux tmux e9d369a09e48ea8f940958025c8444988d31e840
-    version         20160219-[string range ${github.version} 0 6]
+    github.setup    tmux tmux 9a4b45dc0fdefead3fe9d471e144da78163860d0
+    version         20160410-[string range ${github.version} 0 6]
     revision        0
     conflicts       tmux
 }
@@ -31,13 +31,12 @@
 
 if {${subport} eq ${name}} {
     github.tarball_from     releases
-    checksums               rmd160  db078b7149e009aecb200c4cbb39be72190a14dc \
-                            sha256  31564e7bf4bcef2defb3cb34b9e596bd43a3937cad9e5438701a81a5a9af6176
-    patchfiles              fix-reattach-with-session-list.patch
+    checksums               rmd160  5d636bb7a4c5d80e2dba4179ddd65bc49f471e37 \
+                            sha256  bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4
 }
 subport tmux-devel {
-    checksums               rmd160  c38a7cc9800025436a419690940c26a370828cc9 \
-                            sha256  2a48ff122f22de57855f80cec9acc74ec886a8fcf4a0236d8421cd048771a3ad
+    checksums               rmd160  941bb491c7e40ab1ff44306fbb1144bdde30de9b \
+                            sha256  6f45b5bcd1aabf6c4b036a0529ab913b6c5e4dcfc53c21542ea0669fe1eb2f45
 
     use_autoreconf          yes
     autoreconf.cmd          ./autogen.sh
@@ -57,9 +56,9 @@
 
 post-destroot {
     xinstall -m 0755 -d ${destroot}${prefix}/share/doc/tmux
-    xinstall -m 0644 {*}[glob ${worksrcpath}/examples/*.conf] ${destroot}${prefix}/share/doc/tmux
+    xinstall -m 0644 ${worksrcpath}/example_tmux.conf ${destroot}${prefix}/share/doc/tmux
     xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/syntax
-    xinstall -m 0644 ${worksrcpath}/examples/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/syntax
+    xinstall -m 0644 ${filespath}/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/syntax
     xinstall -m 0755 -d ${destroot}${prefix}/share/vim/vimfiles/ftdetect
     xinstall -m 0644 ${filespath}/ftdetect-tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect/tmux.vim
 }

Added: trunk/dports/sysutils/tmux/files/tmux.vim
===================================================================
--- trunk/dports/sysutils/tmux/files/tmux.vim	                        (rev 0)
+++ trunk/dports/sysutils/tmux/files/tmux.vim	2016-04-15 02:37:46 UTC (rev 147761)
@@ -0,0 +1,289 @@
+" Vim syntax file
+" Language: tmux(1) configuration file
+" Maintainer: Tiago Cunha <tcunha at users.sourceforge.net>
+" Last Change: $Date: 2010-07-27 18:29:07 $
+" License: This file is placed in the public domain.
+"
+" To install this file:
+"
+" - Drop the file in the syntax directory into runtimepath (such as
+"  ~/.vim/syntax/tmux.vim).
+" - Make the filetype recognisable by adding the following to filetype.vim
+"   (~/.vim/filetype.vim):
+"
+"	augroup filetypedetect
+"		au BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux
+"	augroup END
+"
+" - Switch on syntax highlighting by adding "syntax enable" to .vimrc.
+"
+
+if version < 600
+	syntax clear
+elseif exists("b:current_syntax")
+	finish
+endif
+
+setlocal iskeyword+=-
+syntax case match
+
+syn keyword tmuxAction	any current none
+syn keyword tmuxBoolean	off on
+
+syn keyword tmuxCmds
+	\ attach[-session]
+	\ bind[-key]
+	\ break-pane
+	\ breakp
+	\ capture-pane
+	\ capturep
+	\ choose-buffer
+	\ choose-client
+	\ choose-list
+	\ choose-session
+	\ choose-tree
+	\ choose-window
+	\ clear-history
+	\ clearhist
+	\ clock-mode
+	\ command-prompt
+	\ confirm[-before]
+	\ copy-mode
+	\ delete-buffer
+	\ deleteb
+	\ detach[-client]
+	\ display[-message]
+	\ display-panes
+	\ displayp
+	\ find-window
+	\ findw
+	\ has[-session]
+	\ if[-shell]
+	\ join-pane
+	\ joinp
+	\ kill-pane
+	\ killp
+	\ kill-server
+	\ kill-session
+	\ kill-window
+	\ killw
+	\ last-pane
+	\ lastp
+	\ last[-window]
+	\ link-window
+	\ linkw
+	\ list-buffers
+	\ lsb
+	\ list-clients
+	\ lsc
+	\ list-commands
+	\ lscm
+	\ list-keys
+	\ lsk
+	\ list-panes
+	\ lsp
+	\ list-sessions
+	\ ls
+	\ list-windows
+	\ lsw
+	\ load-buffer
+	\ loadb
+	\ lock-client
+	\ lockc
+	\ lock[-server]
+	\ lock-session
+	\ locks
+	\ move-pane
+	\ movep
+	\ move-window
+	\ movew
+	\ new[-session]
+	\ next-layout
+	\ nextl
+	\ next[-window]
+	\ paste-buffer
+	\ pasteb
+	\ pipe-pane
+	\ pipep
+	\ previous-layout
+	\ prevl
+	\ prev[ious-window]
+	\ refresh[-client]
+	\ rename[-session]
+	\ rename-window
+	\ renamew
+	\ resize-pane
+	\ resizep
+	\ respawn-pane
+	\ respawnp
+	\ respawn-window
+	\ respawnw
+	\ rotate-window
+	\ rotatew
+	\ run[-shell]
+	\ save-buffer
+	\ saveb
+	\ select-layout
+	\ selectl
+	\ select-pane
+	\ selectp
+	\ select-window
+	\ selectw
+	\ send[-keys]
+	\ send-prefix
+	\ server-info
+	\ info
+	\ set-buffer
+	\ setb
+	\ set-environment
+	\ setenv
+	\ set[-option]
+	\ set-window-option
+	\ setw
+	\ show-buffer
+	\ showb
+	\ show-environment
+	\ showenv
+	\ show-messages
+	\ showmsgs
+	\ show[-options]
+	\ show-window-options
+	\ showw
+	\ source[-file]
+	\ split-window
+	\ splitw
+	\ start[-server]
+	\ suspend-client
+	\ suspendc
+	\ swap-pane
+	\ swapp
+	\ swap-window
+	\ swapw
+	\ switch-client
+	\ switchc
+	\ unbind[-key]
+	\ unlink-window
+	\ unlinkw
+	\ wait[-for]
+
+syn keyword tmuxOptsSet
+	\ assume-paste-time
+	\ base-index
+	\ bell-action
+	\ bell-on-alert
+	\ buffer-limit
+	\ default-command
+	\ default-shell
+	\ default-terminal
+	\ destroy-unattached
+	\ detach-on-destroy
+	\ display-panes-active-colour
+	\ display-panes-colour
+	\ display-panes-time
+	\ display-time
+	\ escape-time
+	\ exit-unattached
+	\ focus-events
+	\ history-file
+	\ history-limit
+	\ lock-after-time
+	\ lock-command
+	\ lock-server
+	\ message-command-style
+	\ message-limit
+	\ message-style
+	\ mouse
+	\ mouse-utf8
+	\ pane-active-border-style
+	\ pane-border-style
+	\ prefix
+	\ prefix2
+	\ quiet
+	\ renumber-windows
+	\ repeat-time
+	\ set-clipboard
+	\ set-remain-on-exit
+	\ set-titles
+	\ set-titles-string
+	\ status
+	\ status-interval
+	\ status-justify
+	\ status-keys
+	\ status-left
+	\ status-left-length
+	\ status-left-style
+	\ status-position
+	\ status-right
+	\ status-right-length
+	\ status-utf8
+	\ staus-right-style
+	\ terminal-overrides
+	\ update-environment
+	\ visual-activity
+	\ visual-bell
+	\ visual-silence
+	\ word-separators
+
+syn keyword tmuxOptsSetw
+	\ aggressive-resize
+	\ allow-rename
+	\ alternate-screen
+	\ automatic-rename
+	\ clock-mode-colour
+	\ clock-mode-style
+	\ force-height
+	\ force-width
+	\ main-pane-height
+	\ main-pane-width
+	\ mode-keys
+	\ mode-style
+	\ monitor-activity
+	\ monitor-silence
+	\ other-pane-height
+	\ other-pane-width
+	\ pane-base-index
+	\ remain-on-exit
+	\ synchronize-panes
+	\ utf8
+	\ window-active-style
+	\ window-status-activity-style
+	\ window-status-bell-style
+	\ window-status-current-format
+	\ window-status-current-style
+	\ window-status-format
+	\ window-status-last-style
+	\ window-status-separator
+	\ window-status-style
+	\ window-style
+	\ wrap-search
+	\ xterm-keys
+
+syn keyword tmuxTodo FIXME NOTE TODO XXX contained
+
+syn match tmuxKey		/\(C-\|M-\|\^\)\+\S\+/	display
+syn match tmuxNumber 		/\d\+/			display
+syn match tmuxOptions		/\s-\a\+/		display
+syn match tmuxVariable		/\w\+=/			display
+syn match tmuxVariableExpansion	/\${\=\w\+}\=/		display
+
+" Comments can span multiple lines, when the newline is escaped
+" (with a single) backslash at the end.
+syn region tmuxComment  start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo
+syn region tmuxString	start=/"/ end=/"/ display oneline
+syn region tmuxString	start=/'/ end=/'/ display oneline
+
+hi def link tmuxAction			Boolean
+hi def link tmuxBoolean			Boolean
+hi def link tmuxCmds			Keyword
+hi def link tmuxComment			Comment
+hi def link tmuxKey			Special
+hi def link tmuxNumber			Number
+hi def link tmuxOptions			Identifier
+hi def link tmuxOptsSet			Function
+hi def link tmuxOptsSetw		Function
+hi def link tmuxString			String
+hi def link tmuxTodo			Todo
+hi def link tmuxVariable		Constant
+hi def link tmuxVariableExpansion	Constant
+
+let b:current_syntax = "tmux"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160414/a6cad2b9/attachment-0001.html>


More information about the macports-changes mailing list