aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/tmux/Makefile
blob: dca4f96b7219905a7e107c49f4695956ac81140f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    tmux
# Date created:             28 May 2008
# Whom:                 Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   tmux
DISTVERSION=    0.9
CATEGORIES= misc
MASTER_SITES=   SF

MAINTAINER= wenheping@gmail.com
COMMENT=    A Terminal Multiplexer

HAS_CONFIGURE=  yes

MAN1=       tmux.1

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 screen-keys.conf tmux.vim
    ${INSTALL_DATA} ${WRKSRC}/examples/${i} ${EXAMPLESDIR}
.endfor
.endif

.include <bsd.port.mk>