02faa549e9
tig-2.5.5 --------- Improvements: - Make word-diff a toggleable option. (#1119, #1125) - Add Linux installation instructions. (#1121, #1126) - Allow :back to work across separate blame views. (#1123, #1127) - Add auto-refresh to log view. (#1128) - Expose `%(file_old)`, useful for deleted and renamed files. (#1132) - Enable jumping back in main view. (#628, #1138) - Add PCRE (Perl Compatible Regular Expressions) support. (#1137, #1143) - Pass command line args through to diff-files in status view. (#1152, #1155) - Remove quotes from TIG_LS_REMOTE to allow inline shell commands. (#1160, #1161) - Avoid pushing identical history state in main view. - Replace useless strncpy to avoid compilation warning with GCC 8. - Update utf8proc to v2.7.0. - Update distclean rule to preserve tarball contents. (#1167, #1169) - Add reference types stash and other. (#1160, #1172) - Auto refresh view upon option change. - Allow to toggle revision filtering. (#1173) Bug fixes: - Fix null dereferences on unset format strings. (#1136, #1159) - Fix invalid read in log_read. (#1128) - Restore support for tig log --graph. (#1128) - Further fix to fullscreen navigation. - Fix blame when opened from an initial diff view. (#1135) - Fix stash view when using tig --all or tig revs. (#1146, #1147) - Avoiding null pointer dereference. (#1096) - Fix navigation between chunks after splitting chunk. (#1101, #1162) - Fix status line when toggling general options. (#1163, #1164) - Honor reference-format = hide:tag in diff view. (#1168, #1170) - Fix crash on :toggle file-args.
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.20 2022/01/12 21:39:33 fcambus Exp $
|
|
|
|
DISTNAME= tig-2.5.5
|
|
CATEGORIES= devel scm
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=jonas/}
|
|
GITHUB_RELEASE= ${DISTNAME}
|
|
|
|
MAINTAINER= fcambus@NetBSD.org
|
|
HOMEPAGE= https://jonas.github.io/tig/
|
|
COMMENT= Ncurses-based GIT repository tool
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
|
|
TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
|
|
DEPENDS+= git-base-[0-9]*:../../devel/git-base
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake
|
|
USE_NCURSES= yes # Display issues with NetBSD curses(3)
|
|
|
|
CONF_FILES= ${EGDIR}/tigrc ${PKG_SYSCONFDIR}/tigrc
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
GIT_CONFIG= ${PREFIX}/bin/git-config
|
|
CONFIGURE_ENV+= GIT_CONFIG=${GIT_CONFIG:Q}
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}
|
|
CONFIGURE_ARGS.gnu-iconv= --with-libiconv=${BUILDLINK_PREFIX.iconv}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if !empty(GLIBC_VERSION)
|
|
# Some version of glibc requires _XOPEN_SOURCE being defined to
|
|
# provide S_IFMT in <sys/stat.h>
|
|
CFLAGS+= -D_XOPEN_SOURCE
|
|
# It is also required to define _BSD_SOURCE to get struct timezone
|
|
# defined in <sys/time.h>
|
|
CFLAGS+= -D_BSD_SOURCE
|
|
.endif
|
|
|
|
BUILD_TARGET= all doc
|
|
INSTALL_TARGET= install install-doc
|
|
TEST_TARGET= test
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}/${EGDIR} && \
|
|
${INSTALL_DATA} ${WRKSRC}/tigrc ${DESTDIR}/${EGDIR}
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/ncursesw/buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|