Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2017 10:32:12 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455573 - head/devel/tig
Message-ID:  <201712051032.vB5AWCl3040266@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Dec  5 10:32:12 2017
New Revision: 455573
URL: https://svnweb.freebsd.org/changeset/ports/455573

Log:
  Make the git dependency optional.
  
  PR:		203457
  Submitted by:	lightside gmx com
  Approved by:	dharrigan gmail com
  Sponsored by:	Absolight

Added:
  head/devel/tig/pkg-message-git   (contents, props changed)
Modified:
  head/devel/tig/Makefile   (contents, props changed)

Modified: head/devel/tig/Makefile
==============================================================================
--- head/devel/tig/Makefile	Tue Dec  5 10:17:39 2017	(r455572)
+++ head/devel/tig/Makefile	Tue Dec  5 10:32:12 2017	(r455573)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tig
 PORTVERSION=	2.3.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/jonas/tig/releases/download/${DISTNAME}/
 
@@ -12,8 +13,6 @@ COMMENT=	Text-mode interface for git
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	git:devel/git
-
 USES=		iconv gmake ncurses readline:port
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	${ICONV_CONFIGURE_BASE}
@@ -24,8 +23,13 @@ INSTALL_TARGET=	install
 
 PLIST_FILES=	bin/tig etc/tigrc
 
-OPTIONS_DEFINE=	MANPAGES
+OPTIONS_DEFINE=	GIT MANPAGES
 OPTIONS_DEFAULT=MANPAGES
+
+GIT_DESC=	Install devel/git as runtime dependency
+
+GIT_RUN_DEPENDS=	git:devel/git
+GIT_VARS_OFF=	PKGMESSAGE="${.CURDIR}/pkg-message-git"
 
 MANPAGES_BUILD_DEPENDS=	asciidoc:textproc/asciidoc \
 			xmlto:textproc/xmlto

Added: head/devel/tig/pkg-message-git
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/tig/pkg-message-git	Tue Dec  5 10:32:12 2017	(r455573)
@@ -0,0 +1 @@
+Required to (post-)install devel/git* port as runtime dependency.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712051032.vB5AWCl3040266>