Initial import of tig-0.12.1.

GIT repository browser that additionally can act as a pager for
output from various GIT commands.  When browsing repositories, it
uses the underlying GIT commands to present the user with various
views, such as summarized revision log and showing the commit with
the log message, diffstat, and the diff.  Using it as a pager, it
will display input from stdin and colorize it.

Submitted and maintained by Tobias Ulmer. Thanks!
This commit is contained in:
bernd 2008-10-24 22:49:21 +00:00
parent 298a20a315
commit 14b9a11437
5 changed files with 63 additions and 0 deletions

32
devel/tig/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/24 22:49:21 bernd Exp $
COMMENT = ncurses GIT repository browser
DISTNAME = tig-0.12.1
CATEGORIES = devel
HOMEPAGE = http://jonas.nitro.dk/tig/
MAINTAINER = Tobias Ulmer <tobiasu@tmux.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c ncurses
MODULES = converters/libiconv
RUN_DEPENDS = ::devel/git
MASTER_SITES = ${HOMEPAGE}/releases/
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --with-libiconv=${LOCALBASE}
NO_REGRESS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tig
${INSTALL_DATA} ${WRKBUILD}/manual.* ${PREFIX}/share/doc/tig
${INSTALL_MAN} ${WRKBUILD}/tig.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKBUILD}/tigrc.5 ${PREFIX}/man/man5
.include <bsd.port.mk>

5
devel/tig/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (tig-0.12.1.tar.gz) = Rfh6gj/9AVNnIIz+aAvLnw==
RMD160 (tig-0.12.1.tar.gz) = q4VIclkEOQFfzYcdYTNFJIEeSSA=
SHA1 (tig-0.12.1.tar.gz) = uGeiLiSOPAFEiep8M1Z+TKiF2Io=
SHA256 (tig-0.12.1.tar.gz) = jOdGKgw4gl8wdXwq+lV+vIqiPY0X446oPc3Hu4Fa81M=
SIZE (tig-0.12.1.tar.gz) = 121286

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-tig_c,v 1.1.1.1 2008/10/24 22:49:21 bernd Exp $
--- tig.c.orig Wed Oct 8 14:44:57 2008
+++ tig.c Fri Oct 24 21:40:33 2008
@@ -43,7 +43,9 @@
#include <iconv.h>
/* ncurses(3): Must be defined to have extended wide-character functions. */
+/* disable because of wchar type conflicts and we don't have them anyway
#define _XOPEN_SOURCE_EXTENDED
+*/
#ifdef HAVE_NCURSESW_NCURSES_H
#include <ncursesw/ncurses.h>

6
devel/tig/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
GIT repository browser that additionally can act as a pager for
output from various GIT commands. When browsing repositories, it
uses the underlying GIT commands to present the user with various
views, such as summarized revision log and showing the commit with
the log message, diffstat, and the diff. Using it as a pager, it
will display input from stdin and colorize it.

7
devel/tig/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/24 22:49:21 bernd Exp $
@bin bin/tig
@man man/man1/tig.1
@man man/man5/tigrc.5
share/doc/tig/
share/doc/tig/manual.html
share/doc/tig/manual.txt