diff options
author | rafan <rafan@FreeBSD.org> | 2008-03-23 16:17:20 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-03-23 16:17:20 +0800 |
commit | 8a9fe2ffc9cd7c49ee0314d88252a251769c259b (patch) | |
tree | 81411d1e11842aa29ee2486f43f5d7af4f8c9b57 /devel/tig | |
parent | ea1e56cde7085c143d6b5cca1bb5ce1f08d6954e (diff) | |
download | freebsd-ports-gnome-8a9fe2ffc9cd7c49ee0314d88252a251769c259b.tar.gz freebsd-ports-gnome-8a9fe2ffc9cd7c49ee0314d88252a251769c259b.tar.zst freebsd-ports-gnome-8a9fe2ffc9cd7c49ee0314d88252a251769c259b.zip |
- 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)
Diffstat (limited to 'devel/tig')
-rw-r--r-- | devel/tig/Makefile | 16 | ||||
-rw-r--r-- | devel/tig/distinfo | 6 |
2 files changed, 17 insertions, 5 deletions
diff --git a/devel/tig/Makefile b/devel/tig/Makefile index c3c8c58d96e3..3dce59dec173 100644 --- a/devel/tig/Makefile +++ b/devel/tig/Makefile @@ -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> diff --git a/devel/tig/distinfo b/devel/tig/distinfo index e1610f01d201..6b06bd8b844d 100644 --- a/devel/tig/distinfo +++ b/devel/tig/distinfo @@ -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 |