freebsd-ports/sysutils/tmux/Makefile
Wen Heping c0276c423d - 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>
2009-11-06 06:10:58 +00:00

46 lines
908 B
Makefile

# New ports collection makefile for: tmux
# Date created: 28 May 2008
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= tmux
PORTVERSION= 1.1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= A Terminal Multiplexer
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
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>