[53738] trunk/dports/sysutils/tmux
toby at macports.org
toby at macports.org
Sun Jul 12 21:22:33 PDT 2009
Revision: 53738
http://trac.macports.org/changeset/53738
Author: toby at macports.org
Date: 2009-07-12 21:22:33 -0700 (Sun, 12 Jul 2009)
Log Message:
-----------
tmux 0.9
Modified Paths:
--------------
trunk/dports/sysutils/tmux/Portfile
trunk/dports/sysutils/tmux/files/GNUmakefile.diff
Modified: trunk/dports/sysutils/tmux/Portfile
===================================================================
--- trunk/dports/sysutils/tmux/Portfile 2009-07-13 03:52:56 UTC (rev 53737)
+++ trunk/dports/sysutils/tmux/Portfile 2009-07-13 04:22:33 UTC (rev 53738)
@@ -3,8 +3,7 @@
PortSystem 1.0
name tmux
-version 0.8
-revision 1
+version 0.9
categories sysutils
maintainers toby
description terminal multiplexer
@@ -16,15 +15,15 @@
homepage http://sourceforge.net/projects/tmux/
platforms darwin
master_sites sourceforge
-checksums md5 7292916c1fee6035def1d5f4efdb4770 \
- sha1 87a9db829ff36cc432114672f7354a74d673832b \
- rmd160 81f828e0af59a994e0b4ba86ab17421ffd7d7e98
+checksums md5 2d1df646a6977bb7d9b20e53770d5593 \
+ sha1 b00283291b642c8db654bee78fcf5453ba248c66 \
+ rmd160 9847514485d2ad0f948def777fa8a2abd99cf34b
depends_lib port:ncurses
patchfiles GNUmakefile.diff
-configure {
+post-configure {
reinplace "s|__PREFIX__|${prefix}|g" "${worksrcpath}/GNUmakefile"
reinplace "s|__CC__|${configure.cc}|" "${worksrcpath}/GNUmakefile"
reinplace "s|__CFLAGS__|${configure.cflags}|" "${worksrcpath}/GNUmakefile"
Modified: trunk/dports/sysutils/tmux/files/GNUmakefile.diff
===================================================================
--- trunk/dports/sysutils/tmux/files/GNUmakefile.diff 2009-07-13 03:52:56 UTC (rev 53737)
+++ trunk/dports/sysutils/tmux/files/GNUmakefile.diff 2009-07-13 04:22:33 UTC (rev 53738)
@@ -1,31 +1,35 @@
---- GNUmakefile.orig 2009-05-02 13:27:11.000000000 -0700
-+++ GNUmakefile 2009-05-02 13:27:24.000000000 -0700
-@@ -46,28 +46,26 @@
- osdep-unknown.c osdep-openbsd.c osdep-freebsd.c osdep-linux.c \
- osdep-darwin.c attributes.c
+--- GNUmakefile.orig 2009-07-12 21:16:26.000000000 -0700
++++ GNUmakefile 2009-07-12 21:20:08.000000000 -0700
+@@ -6,9 +6,9 @@
+ #FDEBUG= 1
+
-CC?= gcc
--INCDIRS+= -I. -I-
--CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
-+CC= __CC__
-+INCDIRS+= -I__PREFIX__/include -I__PREFIX__/include/ncurses -I.
-+CFLAGS+= __CFLAGS__ -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
+-CFLAGS+= -DBUILD="\"$(VERSION)\""
+-LDFLAGS+= -L/usr/local/lib
++CC?= __CC__
++CFLAGS+= __CFLAGS__ -DBUILD="\"$(VERSION)\""
++LDFLAGS+= __LDFLAGS__
+ LIBS+= -lncurses
+
+ # This sort of sucks but gets rid of the stupid warning and should work on
+@@ -16,21 +16,21 @@
+ ifeq ($(shell (LC_ALL=C $(CC) -v 2>&1|awk '/gcc version 4/') || true), )
+ CPPFLAGS:= -I. -I- $(CPPFLAGS)
+ else
+-CPPFLAGS:= -iquote. $(CPPFLAGS)
++CPPFLAGS:= -I__PREFIX__/include -I__PREFIX__/include/ncurses -iquote. $(CPPFLAGS)
+ endif
+
ifdef FDEBUG
CFLAGS+= -g -ggdb -DDEBUG
- LDFLAGS+= -rdynamic
- LIBS+= -ldl
- endif
--ifeq (${CC},gcc)
++endif
CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
- CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
+ CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
-endif
--LDFLAGS+=
-+LDFLAGS+= __LDFLAGS__
- LIBS+= -lncurses
-
-PREFIX?= /usr/local
+PREFIX?= __PREFIX__
INSTALLDIR= install -d
@@ -34,16 +38,13 @@
+INSTALLBIN= install -m 555
+INSTALLMAN= install -m 444
- ifeq ($(shell uname),AIX)
- INCDIRS+= -I/usr/local/include/ncurses -Icompat
-@@ -137,8 +134,8 @@
- install:
- $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
- $(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
-- $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
-- $(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/$(PROG).1
-+ $(INSTALLDIR) $(DESTDIR)$(PREFIX)/share/man/man1
-+ $(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/share/man/man1/$(PROG).1
-
- clean:
- rm -f $(CLEANFILES)
+ SRCS= $(shell echo *.c|sed 's|osdep-[a-z0-9]*.c||g')
+ include config.mk
+@@ -53,5 +53,5 @@
+ install: all
+ $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
+ $(INSTALLBIN) tmux $(DESTDIR)$(PREFIX)/bin/tmux
+- $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
+- $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/man/man1/tmux.1
++ $(INSTALLDIR) $(DESTDIR)$(PREFIX)/share/man/man1
++ $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/share/man/man1/tmux.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090712/0059e31b/attachment.html>
More information about the macports-changes
mailing list