[137096] trunk/dports/sysutils/tmux/Portfile
larryv at macports.org
larryv at macports.org
Thu Jun 4 14:31:13 PDT 2015
Revision: 137096
https://trac.macports.org/changeset/137096
Author: larryv at macports.org
Date: 2015-06-04 14:31:13 -0700 (Thu, 04 Jun 2015)
Log Message:
-----------
tmux{,-devel}: Switch to GitHub (#47951)
Upstream has moved to GitHub, so use the github-1.0 portgroup and update
the project homepage. tmux-devel now fetches GitHub snapsnots instead of
doing Git clones, and it uses the portgroup's default livecheck.
Modified Paths:
--------------
trunk/dports/sysutils/tmux/Portfile
Modified: trunk/dports/sysutils/tmux/Portfile
===================================================================
--- trunk/dports/sysutils/tmux/Portfile 2015-06-04 21:21:33 UTC (rev 137095)
+++ trunk/dports/sysutils/tmux/Portfile 2015-06-04 21:31:13 UTC (rev 137096)
@@ -2,10 +2,15 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
-name tmux
+github.setup tmux tmux 2.0
conflicts tmux-devel
-version 2.0
+subport tmux-devel {
+ github.setup tmux tmux 00471dc78358bde092df65de5e2c375bf9be7437
+ version 20150513-[string range ${github.version} 0 6]
+ conflicts tmux
+}
categories sysutils
maintainers evermeet.cx:tessarek
description terminal multiplexer
@@ -14,16 +19,24 @@
(or windows) to be accessed and controlled from a single terminal. \
tmux is intended to be a simple, modern, BSD-licensed alternative \
to programs such as GNU screen.
-homepage http://tmux.sourceforge.net/
+homepage https://tmux.github.io
platforms darwin
license BSD
-master_sites sourceforge:project/tmux/tmux/tmux-${version}/
-checksums rmd160 5114e1e9d78667291375efcbd9be657b4f175806 \
- sha256 795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362
-
depends_lib port:libevent port:ncurses
+subport tmux {
+ github.tarball_from releases
+ checksums rmd160 5114e1e9d78667291375efcbd9be657b4f175806 \
+ sha256 795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362
+}
+subport tmux-devel {
+ checksums rmd160 14c35c5f0104b13f76d0f553bee820e3baf036ef \
+ sha256 e446072baaa8938e107b5267db36966b674e252105144e8b7a25653e6e0ab65f
+ use_autoreconf yes
+ autoreconf.args-append --force
+}
+
platform darwin 8 {
# On Mac OS X 10.4 there's no libproc.h, so we use a previous version of osdep-darwin.c (c1b9948)
post-extract {
@@ -47,23 +60,3 @@
}
notes "If you want integration with system pasteboard consider installing port tmux-pasteboard as well"
-
-livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex ${name}-(\[0-9\]+\\.\[0-9a-z\]+)${extract.suffix}
-
-subport tmux-devel {
- conflicts tmux
-
- set git_sha1 00471dc78358bde092df65de5e2c375bf9be7437
- version 20150513-[string range $git_sha1 0 6]
-
- fetch.type git
- git.url http://git.code.sf.net/p/tmux/tmux-code.git
- git.branch $git_sha1
-
- use_autoreconf yes
- autoreconf.args-append --force
-
- livecheck.type none
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150604/6513f2cf/attachment-0001.html>
More information about the macports-changes
mailing list