1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- 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>
This commit is contained in:
Wen Heping 2009-11-06 06:10:58 +00:00
parent 4da8d0e6e0
commit c0276c423d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243876
2 changed files with 20 additions and 14 deletions

View File

@ -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>

View File

@ -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