Ignore:
Timestamp:
Jul 13, 2009, 4:22:33 AM (10 years ago)
Author:
toby@…
Message:

tmux 0.9

Location:
trunk/dports/sysutils/tmux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/tmux/Portfile

    r51579 r53738  
    44
    55name             tmux
    6 version          0.8
    7 revision         1
     6version          0.9
    87categories       sysutils
    98maintainers      toby
     
    1716platforms        darwin
    1817master_sites     sourceforge
    19 checksums        md5 7292916c1fee6035def1d5f4efdb4770 \
    20                  sha1 87a9db829ff36cc432114672f7354a74d673832b \
    21                  rmd160 81f828e0af59a994e0b4ba86ab17421ffd7d7e98
     18checksums        md5 2d1df646a6977bb7d9b20e53770d5593 \
     19                 sha1 b00283291b642c8db654bee78fcf5453ba248c66 \
     20                 rmd160 9847514485d2ad0f948def777fa8a2abd99cf34b
    2221
    2322depends_lib      port:ncurses
     
    2524patchfiles       GNUmakefile.diff
    2625
    27 configure {
     26post-configure {
    2827        reinplace "s|__PREFIX__|${prefix}|g" "${worksrcpath}/GNUmakefile"
    2928        reinplace "s|__CC__|${configure.cc}|" "${worksrcpath}/GNUmakefile"
  • trunk/dports/sysutils/tmux/files/GNUmakefile.diff

    r52336 r53738  
    1 --- GNUmakefile.orig    2009-05-02 13:27:11.000000000 -0700
    2 +++ GNUmakefile 2009-05-02 13:27:24.000000000 -0700
    3 @@ -46,28 +46,26 @@
    4        osdep-unknown.c osdep-openbsd.c osdep-freebsd.c osdep-linux.c \
    5        osdep-darwin.c attributes.c
     1--- GNUmakefile.orig    2009-07-12 21:16:26.000000000 -0700
     2+++ GNUmakefile 2009-07-12 21:20:08.000000000 -0700
     3@@ -6,9 +6,9 @@
     4 
     5 #FDEBUG= 1
    66 
    77-CC?= gcc
    8 -INCDIRS+= -I. -I-
    9 -CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
    10 +CC= __CC__
    11 +INCDIRS+= -I__PREFIX__/include -I__PREFIX__/include/ncurses -I.
    12 +CFLAGS+= __CFLAGS__ -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
     8-CFLAGS+= -DBUILD="\"$(VERSION)\""
     9-LDFLAGS+= -L/usr/local/lib
     10+CC?= __CC__
     11+CFLAGS+= __CFLAGS__ -DBUILD="\"$(VERSION)\""
     12+LDFLAGS+= __LDFLAGS__
     13 LIBS+= -lncurses
     14 
     15 # This sort of sucks but gets rid of the stupid warning and should work on
     16@@ -16,21 +16,21 @@
     17 ifeq ($(shell (LC_ALL=C $(CC) -v 2>&1|awk '/gcc version 4/') || true), )
     18 CPPFLAGS:= -I. -I- $(CPPFLAGS)
     19 else
     20-CPPFLAGS:= -iquote. $(CPPFLAGS)
     21+CPPFLAGS:= -I__PREFIX__/include -I__PREFIX__/include/ncurses -iquote. $(CPPFLAGS)
     22 endif
     23 
    1324 ifdef FDEBUG
    1425 CFLAGS+= -g -ggdb -DDEBUG
    15  LDFLAGS+= -rdynamic
    16  LIBS+= -ldl
    17  endif
    18 -ifeq (${CC},gcc)
     26+endif
    1927 CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
    2028 CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
    21  CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
     29 CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
    2230 CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
    2331-endif
    24  
    25 -LDFLAGS+=
    26 +LDFLAGS+= __LDFLAGS__
    27  LIBS+= -lncurses
    2832 
    2933-PREFIX?= /usr/local
     
    3539+INSTALLMAN= install -m 444
    3640 
    37  ifeq ($(shell uname),AIX)
    38  INCDIRS+= -I/usr/local/include/ncurses -Icompat
    39 @@ -137,8 +134,8 @@
    40  install:
    41         $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
    42         $(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
    43 -       $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
    44 -       $(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/$(PROG).1
    45 +       $(INSTALLDIR) $(DESTDIR)$(PREFIX)/share/man/man1
    46 +       $(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/share/man/man1/$(PROG).1
    47  
    48  clean:
    49         rm -f $(CLEANFILES)
     41 SRCS= $(shell echo *.c|sed 's|osdep-[a-z0-9]*.c||g')
     42 include config.mk
     43@@ -53,5 +53,5 @@
     44 install:       all
     45                $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
     46                $(INSTALLBIN) tmux $(DESTDIR)$(PREFIX)/bin/tmux
     47-               $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
     48-               $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/man/man1/tmux.1
     49+               $(INSTALLDIR) $(DESTDIR)$(PREFIX)/share/man/man1
     50+               $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/share/man/man1/tmux.1
Note: See TracChangeset for help on using the changeset viewer.