[119136] trunk/dports/sysutils/tmux

ryandesign at macports.org ryandesign at macports.org
Thu Apr 17 18:03:12 PDT 2014


Revision: 119136
          https://trac.macports.org/changeset/119136
Author:   ryandesign at macports.org
Date:     2014-04-17 18:03:11 -0700 (Thu, 17 Apr 2014)
Log Message:
-----------
tmux: fix tmux vim file detection; new maintainer (#43351)

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

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

Removed Paths:
-------------
    trunk/dports/sysutils/tmux/files/osdep-darwin.c.diff
    trunk/dports/sysutils/tmux/files/tmux.1.diff
    trunk/dports/sysutils/tmux/files/tmux.h.diff
    trunk/dports/sysutils/tmux/files/tmux.vim

Modified: trunk/dports/sysutils/tmux/Portfile
===================================================================
--- trunk/dports/sysutils/tmux/Portfile	2014-04-17 23:49:18 UTC (rev 119135)
+++ trunk/dports/sysutils/tmux/Portfile	2014-04-18 01:03:11 UTC (rev 119136)
@@ -5,8 +5,9 @@
 
 name            tmux
 version         1.9a
+revision        1
 categories      sysutils
-maintainers     nomaintainer
+maintainers     evermeet.cx:tessarek
 description     terminal multiplexer
 long_description \
     tmux is a \"terminal multiplexer\", it enables a number of terminals \
@@ -31,7 +32,7 @@
     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 ${worksrcpath}/examples/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect
+    xinstall -m 0644 ${filespath}/ftdetect-tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect/tmux.vim
 }
 
 variant screen description "behave more like screen" {


Property changes on: trunk/dports/sysutils/tmux/files
___________________________________________________________________
Added: svn:mergeinfo
   + /branches/mld-qt-481/dports/sysutils/tmux/files:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856

Copied: trunk/dports/sysutils/tmux/files/ftdetect-tmux.vim (from rev 118741, trunk/dports/sysutils/tmux/files/tmux.vim)
===================================================================
--- trunk/dports/sysutils/tmux/files/ftdetect-tmux.vim	                        (rev 0)
+++ trunk/dports/sysutils/tmux/files/ftdetect-tmux.vim	2014-04-18 01:03:11 UTC (rev 119136)
@@ -0,0 +1 @@
+autocmd BufNewFile,BufRead {.,}tmux.conf{.*,} setlocal filetype=tmux

Deleted: trunk/dports/sysutils/tmux/files/osdep-darwin.c.diff
===================================================================
--- trunk/dports/sysutils/tmux/files/osdep-darwin.c.diff	2014-04-10 08:16:11 UTC (rev 118741)
+++ trunk/dports/sysutils/tmux/files/osdep-darwin.c.diff	2014-04-18 01:03:11 UTC (rev 119136)
@@ -1,24 +0,0 @@
---- osdep-darwin.c.orig	2013-02-24 23:42:49.000000000 +1100
-+++ osdep-darwin.c	2013-04-01 03:11:47.000000000 +1100
-@@ -33,17 +33,17 @@ struct event_base	*osdep_event_init(void
- char *
- osdep_get_name(int fd, unused char *tty)
- {
--	struct proc_bsdshortinfo	bsdinfo;
-+	struct proc_bsdinfo	bsdinfo;
- 	pid_t				pgrp;
- 	int				ret;
- 
- 	if ((pgrp = tcgetpgrp(fd)) == -1)
- 		return (NULL);
- 
--	ret = proc_pidinfo(pgrp, PROC_PIDT_SHORTBSDINFO, 0,
-+	ret = proc_pidinfo(pgrp, PROC_PIDTBSDINFO, 0,
- 	    &bsdinfo, sizeof bsdinfo);
--	if (ret == sizeof bsdinfo && *bsdinfo.pbsi_comm != '\0')
--		return (strdup(bsdinfo.pbsi_comm));
-+	if (ret == sizeof bsdinfo && *bsdinfo.pbi_comm != '\0')
-+		return (strdup(bsdinfo.pbi_comm));
- 	return (NULL);
- }
- 

Deleted: trunk/dports/sysutils/tmux/files/tmux.1.diff
===================================================================
--- trunk/dports/sysutils/tmux/files/tmux.1.diff	2014-04-10 08:16:11 UTC (rev 118741)
+++ trunk/dports/sysutils/tmux/files/tmux.1.diff	2014-04-18 01:03:11 UTC (rev 119136)
@@ -1,26 +0,0 @@
---- tmux.1.orig	2009-09-30 23:33:53.000000000 -0700
-+++ tmux.1	2009-09-30 23:34:31.000000000 -0700
-@@ -121,7 +121,7 @@
- By default,
- .Nm
- loads the system configuration file from
--.Pa /etc/tmux.conf ,
-+.Pa __PREFIX__/etc/tmux.conf ,
- if present, then looks for a user configuration file at
- .Pa ~/.tmux.conf .
- The configuration file is a set of
-@@ -2598,12 +2598,12 @@
- Show server information and terminal details.
- .El
- .Sh FILES
--.Bl -tag -width "/etc/tmux.confXXX" -compact
-+.Bl -tag -width "__PREFIX__/etc/tmux.confXXX" -compact
- .It Pa ~/.tmux.conf
- Default
- .Nm
- configuration file.
--.It Pa /etc/tmux.conf
-+.It Pa __PREFIX__/etc/tmux.conf
- System-wide configuration file.
- .El
- .Sh EXAMPLES

Deleted: trunk/dports/sysutils/tmux/files/tmux.h.diff
===================================================================
--- trunk/dports/sysutils/tmux/files/tmux.h.diff	2014-04-10 08:16:11 UTC (rev 118741)
+++ trunk/dports/sysutils/tmux/files/tmux.h.diff	2014-04-18 01:03:11 UTC (rev 119136)
@@ -1,11 +0,0 @@
---- tmux.h.orig	2009-09-30 23:33:56.000000000 -0700
-+++ tmux.h	2009-09-30 23:34:11.000000000 -0700
-@@ -44,7 +44,7 @@
- 
- /* Default configuration files. */
- #define DEFAULT_CFG ".tmux.conf"
--#define SYSTEM_CFG "/etc/tmux.conf"
-+#define SYSTEM_CFG "__PREFIX__/etc/tmux.conf"
- 
- /* Default prompt history length. */
- #define PROMPT_HISTORY 100

Deleted: trunk/dports/sysutils/tmux/files/tmux.vim
===================================================================
--- trunk/dports/sysutils/tmux/files/tmux.vim	2014-04-10 08:16:11 UTC (rev 118741)
+++ trunk/dports/sysutils/tmux/files/tmux.vim	2014-04-18 01:03:11 UTC (rev 119136)
@@ -1 +0,0 @@
-autocmd BufRead,BufNewFile .tmux.conf setf tmux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140417/4954a7f9/attachment.html>


More information about the macports-changes mailing list