# New ports collection makefile for: tmux # Date created: 28 May 2008 # Whom: Wen Heping # # $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