[135923] trunk/dports/sysutils/tmux/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed May 6 18:56:04 PDT 2015


Revision: 135923
          https://trac.macports.org/changeset/135923
Author:   ryandesign at macports.org
Date:     2015-05-06 18:56:04 -0700 (Wed, 06 May 2015)
Log Message:
-----------
tmux: update to 2.0 (#47654; maintainer); simplify post-destroot

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

Modified: trunk/dports/sysutils/tmux/Portfile
===================================================================
--- trunk/dports/sysutils/tmux/Portfile	2015-05-07 01:52:05 UTC (rev 135922)
+++ trunk/dports/sysutils/tmux/Portfile	2015-05-07 01:56:04 UTC (rev 135923)
@@ -4,8 +4,7 @@
 PortSystem      1.0
 
 name            tmux
-version         1.9a
-revision        4
+version         2.0
 categories      sysutils
 maintainers     evermeet.cx:tessarek
 description     terminal multiplexer
@@ -17,10 +16,10 @@
 homepage        http://tmux.sourceforge.net/
 platforms       darwin
 license         BSD
-master_sites    sourceforge:project/tmux/tmux/tmux-1.9
+master_sites    sourceforge:project/tmux/tmux/tmux-${version}/
 
-checksums       rmd160  29ae5f12aa71ee800643fb2df23573bee83f5965 \
-                sha256  c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5
+checksums       rmd160  5114e1e9d78667291375efcbd9be657b4f175806 \
+                sha256  795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362
 
 depends_lib     port:libevent port:ncurses
 
@@ -33,9 +32,7 @@
 
 post-destroot {
     xinstall -m 0755 -d ${destroot}${prefix}/share/doc/tmux
-    foreach file [glob ${worksrcpath}/examples/*.conf] {
-        xinstall -m 0644 $file ${destroot}${prefix}/share/doc/tmux
-    }
+    xinstall -m 0644 {*}[glob ${worksrcpath}/examples/*.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 0755 -d ${destroot}${prefix}/share/vim/vimfiles/ftdetect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150506/70093fba/attachment-0001.html>


More information about the macports-changes mailing list