git: b7a5f130712a - main - devel/sbt: add runtime ncurses (infocmp) dependency required by jline

From: Alex Dupre <ale_at_FreeBSD.org>
Date: Thu, 20 Oct 2022 07:36:33 UTC
The branch main has been updated by ale:

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

commit b7a5f130712a45bc3b7150451b7fb2146b4026c4
Author:     Alex Dupre <ale@FreeBSD.org>
AuthorDate: 2022-10-20 07:35:01 +0000
Commit:     Alex Dupre <ale@FreeBSD.org>
CommitDate: 2022-10-20 07:36:29 +0000

    devel/sbt: add runtime ncurses (infocmp) dependency required by jline
---
 devel/sbt/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/devel/sbt/Makefile b/devel/sbt/Makefile
index 7d8eabb839f9..b487dc9e855b 100644
--- a/devel/sbt/Makefile
+++ b/devel/sbt/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sbt
 PORTVERSION=	1.7.2
+PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	https://github.com/sbt/sbt/releases/download/v${PORTVERSION}/
 
@@ -9,12 +10,13 @@ WWW=		https://www.scala-sbt.org/
 
 LICENSE=	APACHE20
 
+RUN_DEPENDS=	infocmp:devel/ncurses
+
 USES=		tar:tgz
 
 OPTIONS_DEFINE=	ADVANCED # PRELOADED
 OPTIONS_DEFAULT=ADVANCED
 ADVANCED_DESC=	Install advanced bash shell-script (required for Java 11+)
-#PRELOADED_DESC=	Install preloaded jars for offline usage
 
 NO_BUILD=	yes
 NO_ARCH=	yes
@@ -22,7 +24,6 @@ USE_JAVA=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 ADVANCED_RUN_DEPENDS+=	bash:shells/bash
-#PRELOADED_RUN_DEPENDS+=	rsync:net/rsync
 
 ADVANCED_SUB_FILES_OFF=	sbt.sh
 
@@ -42,9 +43,6 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/sbt ${STAGEDIR}${DATADIR}
 	${MKDIR} ${STAGEDIR}${DATADIR}/conf
 	${INSTALL_DATA} ${FILESDIR}/sbtopts ${STAGEDIR}${DATADIR}/conf
-#.if ${PORT_OPTIONS:MPRELOADED}
-#	cd ${WRKSRC}/lib && ${COPYTREE_SHARE} local-preloaded ${STAGEDIR}${DATADIR}
-#.endif
 	${LN} -s ../${DATADIR_REL}/sbt ${STAGEDIR}${PREFIX}/bin/
 .else
 	${INSTALL_SCRIPT} ${WRKDIR}/sbt.sh ${STAGEDIR}${PREFIX}/bin/sbt