1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Update to 0.10.1

- Conditionally depends on ncurses for wide character support

PR:		ports/121950
Submitted by:	Denise H. G. <darcsis at gmail.com> (maintainer)
This commit is contained in:
Rong-En Fan 2008-03-23 08:17:20 +00:00
parent 0bafb6084b
commit 0cd7cfe816
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209607
2 changed files with 17 additions and 5 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= tig
PORTVERSION= 0.10
PORTVERSION= 0.10.1
CATEGORIES= devel
MASTER_SITES= http://jonas.nitro.dk/tig/releases/
@ -32,4 +32,16 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}rc.5 ${MANPREFIX}/man/man5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 602107
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include/ncurses" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's/<curses.h>/<ncurses.h>/' ${WRKSRC}/tig.c
.endif
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (tig-0.10.tar.gz) = cea0c80cfe1575510ceaba81669363ce
SHA256 (tig-0.10.tar.gz) = bdbb05e4b1c15c0f630f620a75a7fff5c3fb4dc7e8c9fbc780e489f3da77c08b
SIZE (tig-0.10.tar.gz) = 102920
MD5 (tig-0.10.1.tar.gz) = ff2c0c3d34b52a665421684d1fe7c221
SHA256 (tig-0.10.1.tar.gz) = 728950a15b3b39b5131f6da0f4cdd8f8e1dddcfc3b46b0d8cccd92d848bc3b0d
SIZE (tig-0.10.1.tar.gz) = 104006