ports/130700: [Maintainer Update]misc/tmux:update to 0.6
Wen Heping
wenheping at gmail.com
Sun Jan 18 16:00:14 UTC 2009
>Number: 130700
>Category: ports
>Synopsis: [Maintainer Update]misc/tmux:update to 0.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 18 16:00:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Wen Heping
>Release: FreeBSD 8.0-CURRENT
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT-200811 FreeBSD 8.0-CURRENT-200811 #0: Thu Nov 6 00:32:12 UTC 2008 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
update to 0.6 from 0.5
respect PORTDOCS and PORTEXAMPLES
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -curN tmux/Makefile tmux.new/Makefile
--- tmux/Makefile 2009-01-18 20:17:42.000000000 +0800
+++ tmux.new/Makefile 2009-01-18 23:47:08.000000000 +0800
@@ -6,7 +6,7 @@
#
PORTNAME= tmux
-DISTVERSION= 0.5
+DISTVERSION= 0.6
CATEGORIES= misc
MASTER_SITES= SF
@@ -15,10 +15,23 @@
MAN1= tmux.1
-PLIST_FILES= bin/tmux
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tmux ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tmux.1 ${MANPREFIX}/man/man1
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in CHANGES FAQ NOTES
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+.for i in n-marriott.sh n-marriott.conf tmux.vim screen-keys.conf
+ ${INSTALL_DATA} ${WRKSRC}/examples/${i} ${EXAMPLESDIR}
+.endfor
+.endif
+
.include <bsd.port.mk>
diff -curN tmux/distinfo tmux.new/distinfo
--- tmux/distinfo 2008-11-24 00:31:24.000000000 +0800
+++ tmux.new/distinfo 2009-01-18 23:31:58.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (tmux-0.5.tar.gz) = 6053c9be7e8e532705e5e6d6dd6acf3e
-SHA256 (tmux-0.5.tar.gz) = 9e2bd5a601e961aaf529824de0c502f5ef989ab2ae1713274c5e5cb0f6dd6d24
-SIZE (tmux-0.5.tar.gz) = 106782
+MD5 (tmux-0.6.tar.gz) = 0749cb7df138b587dfdb59f2cca4b414
+SHA256 (tmux-0.6.tar.gz) = 92fc309d4343527f09d94d18132e6b893983e00362ade7afc3799361ce78589a
+SIZE (tmux-0.6.tar.gz) = 149636
diff -curN tmux/files/patch-Makefile tmux.new/files/patch-Makefile
--- tmux/files/patch-Makefile 1970-01-01 08:00:00.000000000 +0800
+++ tmux.new/files/patch-Makefile 2009-01-18 23:31:36.000000000 +0800
@@ -0,0 +1,12 @@
+--- Makefile.orig 2009-01-18 23:30:26.000000000 +0800
++++ Makefile 2009-01-18 23:31:22.000000000 +0800
+@@ -80,6 +80,9 @@
+ # FreeBSD and DragonFly
+ .if ${OS} == "FreeBSD" || ${OS} == "DragonFly"
+ CFLAGS+= -DUSE_LIBUTIL_H
++INCDIRS+= -Icompat
++SRCS+= compat/vis.c
++LIBS+= -lcrypt
+ .endif
+
+ OBJS= ${SRCS:S/.c/.o/:S/.y/.o/}
diff -curN tmux/pkg-plist tmux.new/pkg-plist
--- tmux/pkg-plist 1970-01-01 08:00:00.000000000 +0800
+++ tmux.new/pkg-plist 2009-01-18 23:42:21.000000000 +0800
@@ -0,0 +1,10 @@
+bin/tmux
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/NOTES
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/n-marriott.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/n-marriott.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tmux.vim
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/screen-keys.conf
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list