aboutsummaryrefslogtreecommitdiffstats
path: root/misc/tmux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tmux/Makefile')
-rw-r--r--misc/tmux/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/misc/tmux/Makefile b/misc/tmux/Makefile
index eb84d39ebfeb..d670c2b4ed53 100644
--- a/misc/tmux/Makefile
+++ b/misc/tmux/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tmux
-DISTVERSION= 0.5
+DISTVERSION= 0.6
CATEGORIES= misc
MASTER_SITES= SF
@@ -15,10 +15,23 @@ COMMENT= A Terminal Multiplexer
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>