[42522] trunk/dports/sysutils
toby at macports.org
toby at macports.org
Sun Nov 23 05:44:49 PST 2008
Revision: 42522
http://trac.macports.org/changeset/42522
Author: toby at macports.org
Date: 2008-11-23 05:44:48 -0800 (Sun, 23 Nov 2008)
Log Message:
-----------
New port: tmux 0.5, screen replacement with friendly license
Added Paths:
-----------
trunk/dports/sysutils/tmux/
trunk/dports/sysutils/tmux/Portfile
trunk/dports/sysutils/tmux/files/
trunk/dports/sysutils/tmux/files/GNUmakefile.diff
Added: trunk/dports/sysutils/tmux/Portfile
===================================================================
--- trunk/dports/sysutils/tmux/Portfile (rev 0)
+++ trunk/dports/sysutils/tmux/Portfile 2008-11-23 13:44:48 UTC (rev 42522)
@@ -0,0 +1,26 @@
+# $Id$
+
+PortSystem 1.0
+
+name tmux
+version 0.5
+categories sysutils
+maintainers toby
+description terminal multiplexer
+long_description \
+ tmux is a \"terminal multiplexer\", it enables a number of terminals \
+ (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://sourceforge.net/projects/tmux/
+platforms darwin
+master_sites sourceforge
+checksums md5 6053c9be7e8e532705e5e6d6dd6acf3e \
+ sha1 058a1bb31ef1abe22ecfa3abd0feeba44b5e45ec \
+ rmd160 3745400dcdd2a759ace2b29013f97f6bbd67f4e7
+
+patchfiles GNUmakefile.diff
+
+configure {
+ reinplace "s|__PREFIX__|${prefix}|" "${worksrcpath}/GNUmakefile"
+}
Added: trunk/dports/sysutils/tmux/files/GNUmakefile.diff
===================================================================
--- trunk/dports/sysutils/tmux/files/GNUmakefile.diff (rev 0)
+++ trunk/dports/sysutils/tmux/files/GNUmakefile.diff 2008-11-23 13:44:48 UTC (rev 42522)
@@ -0,0 +1,35 @@
+--- GNUmakefile.orig 2008-09-25 23:45:25.000000000 -0700
++++ GNUmakefile 2008-11-23 05:39:22.000000000 -0800
+@@ -36,7 +36,7 @@
+ tty.c tty-keys.c tty-write.c colour.c utf8.c
+
+ CC?= gcc
+-INCDIRS+= -I. -I-
++INCDIRS+= -I.
+ CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
+ ifdef DEBUG
+ CFLAGS+= -g -ggdb -DDEBUG
+@@ -51,11 +51,11 @@
+ LDFLAGS+=
+ LIBS+= -lncurses
+
+-PREFIX?= /usr/local
+-MANDIR?= $(PREFIX)/man/man1
++PREFIX?= __PREFIX__
++MANDIR?= $(PREFIX)/share/man/man1
+ INSTALLDIR= install -d
+-INSTALLBIN= install -g bin -o root -m 555
+-INSTALLMAN= install -g bin -o root -m 444
++INSTALLBIN= install -m 555
++INSTALLMAN= install -m 444
+
+ ifeq ($(shell uname),IRIX64)
+ INCDIRS+= -Icompat -I/usr/local/include/ncurses
+@@ -79,7 +79,6 @@
+ endif
+
+ ifeq ($(shell uname),Darwin)
+-INCDIRS+= -Icompat
+ SRCS+= compat/strtonum.c compat/bsd-poll.c
+ CFLAGS+= -DNO_STRTONUM -DNO_SETRESUID -DNO_SETRESGID -DNO_SETPROCTITLE \
+ -DNO_TREE_H -DBROKEN_POLL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081123/bb73da8e/attachment.html>
More information about the macports-changes
mailing list