From c0276c423da7fbfb86119535cbe0150b6d5752e9 Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Fri, 6 Nov 2009 06:10:58 +0000 Subject: [PATCH] - Update to 1.1 - Reduce "noise" (textual output) during install - Replace files/patch-configure with ${REINPLACE_CMD} in Makefile - Replace pkg-plist with definition of PLIST_FILES, PORTDOCS and PORTEXAMPLES in Makefile PR: ports/140323 Submitted by: Sahil Tandon --- sysutils/tmux/Makefile | 28 +++++++++++++++++----------- sysutils/tmux/distinfo | 6 +++--- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile index 54eb6c463b07..1cf211eea34e 100644 --- a/sysutils/tmux/Makefile +++ b/sysutils/tmux/Makefile @@ -6,8 +6,7 @@ # PORTNAME= tmux -PORTVERSION= 1.0 -PORTREVISION= 1 +PORTVERSION= 1.1 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -18,23 +17,30 @@ HAS_CONFIGURE= yes MAN1= tmux.1 +PLIST_FILES= bin/tmux + +PORTDOCS= CHANGES FAQ NOTES +PORTEXAMPLES= * + +post-patch: + @${REINPLACE_CMD} -e '/^#define HAVE_TREE_H/d' \ + ${WRKSRC}/configure + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tmux ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/tmux.1 ${MANPREFIX}/man/man1 + @${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} + @${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif .if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} -.for i in h-boetes.conf n-marriott.sh n-marriott.conf screen-keys.conf tmux.vim - ${INSTALL_DATA} ${WRKSRC}/examples/${i} ${EXAMPLESDIR} -.endfor + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} .endif .include diff --git a/sysutils/tmux/distinfo b/sysutils/tmux/distinfo index ec491667ab21..395140218fc0 100644 --- a/sysutils/tmux/distinfo +++ b/sysutils/tmux/distinfo @@ -1,3 +1,3 @@ -MD5 (tmux-1.0.tar.gz) = 716b12d9ea052f57d917bf2869d419df -SHA256 (tmux-1.0.tar.gz) = f260fef8293b3eec795b21d3b561049b758c482dc6a04dba09fdce10ef8d3a6b -SIZE (tmux-1.0.tar.gz) = 215329 +MD5 (tmux-1.1.tar.gz) = faf2fc52ac3ae63d899f6fece2c112cd +SHA256 (tmux-1.1.tar.gz) = b3626ecb74185c5764be658fd359c3fe29ffbe5d1936de81d6628b686558436a +SIZE (tmux-1.1.tar.gz) = 230955