git: 1c688cf90a8f - main - devel/R-cran-cliapp: New port: Create Rich Command Line Applications

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Sun, 16 Jan 2022 05:53:31 UTC
The branch main has been updated by ygy:

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

commit 1c688cf90a8f770860958e160cbee848d88e08a6
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2022-01-16 05:52:37 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2022-01-16 05:52:37 +0000

    devel/R-cran-cliapp: New port: Create Rich Command Line Applications
---
 devel/Makefile                |  1 +
 devel/R-cran-cliapp/Makefile  | 31 +++++++++++++++++++++++++++++++
 devel/R-cran-cliapp/distinfo  |  3 +++
 devel/R-cran-cliapp/pkg-descr |  4 ++++
 4 files changed, 39 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 15c4af0a0d0e..08c457cd1296 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -28,6 +28,7 @@
     SUBDIR += R-cran-chron
     SUBDIR += R-cran-classInt
     SUBDIR += R-cran-cli
+    SUBDIR += R-cran-cliapp
     SUBDIR += R-cran-clipr
     SUBDIR += R-cran-clisymbols
     SUBDIR += R-cran-covr
diff --git a/devel/R-cran-cliapp/Makefile b/devel/R-cran-cliapp/Makefile
new file mode 100644
index 000000000000..147ecf724430
--- /dev/null
+++ b/devel/R-cran-cliapp/Makefile
@@ -0,0 +1,31 @@
+# Created by: Guangyuan Yang <ygy@FreeBSD.org>
+
+PORTNAME=	cliapp
+DISTVERSION=	0.1.1
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	ygy@FreeBSD.org
+COMMENT=	Create Rich Command Line Applications
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	R-cran-R6>0:devel/R-cran-R6 \
+		R-cran-cli>0:devel/R-cran-cli \
+		R-cran-crayon>0:devel/R-cran-crayon \
+		R-cran-fansi>0:devel/R-cran-fansi \
+		R-cran-glue>=1.3.0:devel/R-cran-glue \
+		R-cran-prettycode>0:devel/R-cran-prettycode \
+		R-cran-progress>=1.2.0:devel/R-cran-progress \
+		R-cran-withr>0:devel/R-cran-withr \
+		R-cran-xml2>0:textproc/R-cran-xml2 \
+		R-cran-selectr>0:www/R-cran-selectr
+TEST_DEPENDS=	R-cran-callr>0:devel/R-cran-callr \
+		R-cran-covr>0:devel/R-cran-covr \
+		R-cran-rstudioapi>0:devel/R-cran-rstudioapi \
+		R-cran-testthat>0:devel/R-cran-testthat
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-cliapp/distinfo b/devel/R-cran-cliapp/distinfo
new file mode 100644
index 000000000000..91be7aeede8d
--- /dev/null
+++ b/devel/R-cran-cliapp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1642237957
+SHA256 (cliapp_0.1.1.tar.gz) = e16381dce54417177d4f905f648524731d562c38435f862fad1d28a9d9a2c26c
+SIZE (cliapp_0.1.1.tar.gz) = 111040
diff --git a/devel/R-cran-cliapp/pkg-descr b/devel/R-cran-cliapp/pkg-descr
new file mode 100644
index 000000000000..4fb3c2a5d3e5
--- /dev/null
+++ b/devel/R-cran-cliapp/pkg-descr
@@ -0,0 +1,4 @@
+Create rich command line applications, with colors, headings, lists, alerts,
+progress bars, etc. It uses CSS for custom themes.
+
+WWW: https://github.com/r-lib/cliapp#readme