On Tue, Apr 05, 2016 at 06:32:26PM -0400, Michael Reed wrote: > I haven't used either in a while. > > Index: devel/tig/Makefile
I use and like tig, so I'm volunteering to adopt it. Here is a patch. Reformatted the Makefile a bit, tweaked post-install to add 'tigrc' in examples, and changed GIT to Git and WRKBUILD to WRKSRC where appropriate. Index: Makefile =================================================================== RCS file: /cvs/ports/devel/tig/Makefile,v retrieving revision 1.18 diff -u -p -u -p -r1.18 Makefile --- Makefile 9 Apr 2016 20:14:48 -0000 1.18 +++ Makefile 10 Apr 2016 19:58:43 -0000 @@ -1,32 +1,45 @@ # $OpenBSD: Makefile,v 1.18 2016/04/09 20:14:48 naddy Exp $ -COMMENT = ncurses GIT repository browser -DISTNAME = tig-2.1.1 -REVISION = 1 -CATEGORIES = devel -HOMEPAGE = http://jonas.nitro.dk/tig/ +COMMENT = ncurses Git repository browser + +DISTNAME = tig-2.1.1 +REVISION = 2 + +CATEGORIES = devel + +HOMEPAGE = http://jonas.nitro.dk/tig/ + +MAINTAINER = Frederic Cambus <[email protected]> # GPLv2 PERMIT_PACKAGE_CDROM = Yes -WANTLIB = c iconv ncursesw -LIB_DEPENDS = converters/libiconv -RUN_DEPENDS = devel/git - -MASTER_SITES = ${HOMEPAGE}releases/ - -USE_GMAKE = Yes -CONFIGURE_STYLE = gnu -BUILD_DEPENDS = textproc/asciidoc textproc/xmlto -ALL_TARGET = all doc-man doc-html -CONFIGURE_ARGS += --with-libiconv=${LOCALBASE} DOCBOOK2PDF=false -NO_TEST = Yes +WANTLIB = c iconv ncursesw + +MASTER_SITES = ${HOMEPAGE}releases/ + +BUILD_DEPENDS = textproc/asciidoc \ + textproc/xmlto + +RUN_DEPENDS = devel/git + +LIB_DEPENDS = converters/libiconv + +USE_GMAKE = Yes +ALL_TARGET = all doc-man doc-html + +CONFIGURE_STYLE = gnu +CONFIGURE_ARGS += --with-libiconv=${LOCALBASE} DOCBOOK2PDF=false + +NO_TEST = Yes post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tig - ${INSTALL_DATA} ${WRKBUILD}/doc/manual.html ${PREFIX}/share/doc/tig - ${INSTALL_MAN} ${WRKBUILD}/doc/tig.1 ${PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKBUILD}/doc/tigrc.5 ${PREFIX}/man/man5 - ${INSTALL_MAN} ${WRKBUILD}/doc/tigmanual.7 ${PREFIX}/man/man7 + ${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${PREFIX}/share/doc/tig + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tig + ${INSTALL_DATA} ${WRKSRC}/tigrc ${PREFIX}/share/examples/tig + ${INSTALL_MAN} ${WRKSRC}/doc/tig.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/tigrc.5 ${PREFIX}/man/man5 + ${INSTALL_MAN} ${WRKSRC}/doc/tigmanual.7 ${PREFIX}/man/man7 .include <bsd.port.mk> Index: pkg/DESCR =================================================================== RCS file: /cvs/ports/devel/tig/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 DESCR --- pkg/DESCR 24 Oct 2008 22:49:21 -0000 1.1.1.1 +++ pkg/DESCR 10 Apr 2016 19:58:43 -0000 @@ -1,6 +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 +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 +the log message, diffstat, and the diff. Using it as a pager, it will display input from stdin and colorize it. Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/tig/pkg/PLIST,v retrieving revision 1.4 diff -u -p -u -p -r1.4 PLIST --- pkg/PLIST 16 Jan 2014 21:50:12 -0000 1.4 +++ pkg/PLIST 10 Apr 2016 19:58:43 -0000 @@ -5,3 +5,5 @@ @man man/man7/tigmanual.7 share/doc/tig/ share/doc/tig/manual.html +share/examples/tig/ +share/examples/tig/tigrc
