summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2009-11-06 06:10:58 +0000
committerWen Heping <wen@FreeBSD.org>2009-11-06 06:10:58 +0000
commitc0276c423da7fbfb86119535cbe0150b6d5752e9 (patch)
treed1f01417f9944f5c1d07733ceebd2569ae28668c /sysutils
parentFor unknown reason bsd.port.mk's eval dislike ( and ) in the path, when (diff)
- 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 <sahil@tandon.net>
Notes
Notes: svn path=/head/; revision=243876
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/tmux/Makefile28
-rw-r--r--sysutils/tmux/distinfo6
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 <bsd.port.mk>
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