git: 0df5691294d3 - main - deskutils/arttime: Make the use of FZF optional

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Tue, 14 Mar 2023 08:23:29 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0df5691294d3e26d0a9f7f35810e2f9e409b85dc

commit 0df5691294d3e26d0a9f7f35810e2f9e409b85dc
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-03-14 08:23:25 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-03-14 08:23:25 +0000

    deskutils/arttime: Make the use of FZF optional
---
 deskutils/arttime/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/deskutils/arttime/Makefile b/deskutils/arttime/Makefile
index 06cfcd335848..c6a6de657e75 100644
--- a/deskutils/arttime/Makefile
+++ b/deskutils/arttime/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	arttime
 PORTVERSION=	2.0.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	deskutils
 
 MAINTAINER=	ehaupt@FreeBSD.org
@@ -12,7 +12,6 @@ LICENSE=	GPLv3
 
 BUILD_DEPENDS=	zsh>=5.8:shells/zsh
 RUN_DEPENDS=	${LOCALBASE}/share/terminfo/x/xterm-256color:misc/terminfo-db \
-		fzf:textproc/fzf \
 		notify-send:devel/libnotify \
 		ogg123:audio/vorbis-tools \
 		zsh>=5.8:shells/zsh
@@ -24,6 +23,13 @@ GH_TAGNAME=	6716e6b
 NO_ARCH=	yes
 NO_BUILD=	yes
 
+OPTIONS_DEFINE=		FZF
+OPTIONS_DEFAULT=	FZF
+
+FZF_DESC=	Use FZF to select ASCII art
+
+FZF_RUN_DEPENDS=	fzf:textproc/fzf
+
 do-install:
 	${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} ${WRKSRC}/install.sh \
 		--prefix ${STAGEDIR}${PREFIX} --noupdaterc