[69396] trunk/dports/sysutils/tmux
raimue at macports.org
raimue at macports.org
Sat Jul 3 11:22:01 PDT 2010
Revision: 69396
http://trac.macports.org/changeset/69396
Author: raimue at macports.org
Date: 2010-07-03 11:21:58 -0700 (Sat, 03 Jul 2010)
Log Message:
-----------
sysutils/tmux: Install vim syntax file, closes #24249 (maintainer timeout)
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 2010-07-03 18:00:20 UTC (rev 69395)
+++ trunk/dports/sysutils/tmux/Portfile 2010-07-03 18:21:58 UTC (rev 69396)
@@ -4,6 +4,7 @@
name tmux
version 1.2
+revision 1
categories sysutils
maintainers toby
description terminal multiplexer
@@ -35,9 +36,13 @@
post-destroot {
xinstall -m 0755 -d ${destroot}${prefix}/share/doc/tmux
- foreach file [glob ${worksrcpath}/examples/*] {
+ foreach file [glob ${worksrcpath}/examples/*.conf] {
xinstall -m 0644 $file ${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 0755 -d ${destroot}${prefix}/share/vim/vimfiles/ftdetect
+ xinstall -m 0644 ${filespath}/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect
}
variant screen description "behave more like screen" {
Added: trunk/dports/sysutils/tmux/files/tmux.vim
===================================================================
--- trunk/dports/sysutils/tmux/files/tmux.vim (rev 0)
+++ trunk/dports/sysutils/tmux/files/tmux.vim 2010-07-03 18:21:58 UTC (rev 69396)
@@ -0,0 +1 @@
+autocmd BufRead,BufNewFile .tmux.conf setf tmux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100703/75e71fc3/attachment.html>
More information about the macports-changes
mailing list