Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2023 16:50:29 GMT
From:      Guangyuan Yang <ygy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2666d22aca0f - main - www/R-cran-shinyjs: New port
Message-ID:  <202304251650.33PGoTWp070578@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ygy:

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

commit 2666d22aca0f79f219a40b7a57f167ac71b51f4b
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2023-04-25 16:49:57 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2023-04-25 16:49:57 +0000

    www/R-cran-shinyjs: New port
    
    Easily Improve the User Experience of Your Shiny Apps in Seconds.
---
 www/Makefile                 |  1 +
 www/R-cran-shinyjs/Makefile  | 24 ++++++++++++++++++++++++
 www/R-cran-shinyjs/distinfo  |  3 +++
 www/R-cran-shinyjs/pkg-descr |  6 ++++++
 4 files changed, 34 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 063b9b6a7d6a..3f3505bd566c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -15,6 +15,7 @@
     SUBDIR += R-cran-selectr
     SUBDIR += R-cran-servr
     SUBDIR += R-cran-shiny
+    SUBDIR += R-cran-shinyjs
     SUBDIR += R-cran-webshot
     SUBDIR += Stikked
     SUBDIR += UniversalFeedCreator
diff --git a/www/R-cran-shinyjs/Makefile b/www/R-cran-shinyjs/Makefile
new file mode 100644
index 000000000000..7293fab6d012
--- /dev/null
+++ b/www/R-cran-shinyjs/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	shinyjs
+DISTVERSION=	2.1.0
+CATEGORIES=	www
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	ygy@FreeBSD.org
+COMMENT=	Easily Improve the User Experience of Your Shiny Apps in Seconds
+WWW=		https://deanattali.com/shinyjs/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	R-cran-knitr>0:print/R-cran-knitr
+RUN_DEPENDS=	R-cran-jsonlite>0:converters/R-cran-jsonlite \
+		R-cran-digest>=0.6.8:security/R-cran-digest \
+		R-cran-shiny>=1.0.0:www/R-cran-shiny
+TEST_DEPENDS=	R-cran-testthat>=0.9.1:devel/R-cran-testthat \
+		R-cran-knitr>=1.7:print/R-cran-knitr \
+		R-cran-htmltools>=0.2.9:textproc/R-cran-htmltools \
+		R-cran-rmarkdown>0:textproc/R-cran-rmarkdown
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/www/R-cran-shinyjs/distinfo b/www/R-cran-shinyjs/distinfo
new file mode 100644
index 000000000000..6d152620b57e
--- /dev/null
+++ b/www/R-cran-shinyjs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1682306804
+SHA256 (shinyjs_2.1.0.tar.gz) = 7ec20cbf1b1fd7a32d85a56dfc0df8b5f67c828d241da400a21d893cb37ea9c5
+SIZE (shinyjs_2.1.0.tar.gz) = 1019936
diff --git a/www/R-cran-shinyjs/pkg-descr b/www/R-cran-shinyjs/pkg-descr
new file mode 100644
index 000000000000..19d6624742d2
--- /dev/null
+++ b/www/R-cran-shinyjs/pkg-descr
@@ -0,0 +1,6 @@
+Perform common useful JavaScript operations in Shiny apps that will greatly
+improve your apps without having to know any JavaScript. Examples include:
+hiding an element, disabling an input, resetting an input back to its original
+value, delaying code execution by a few seconds, and many more useful functions
+for both the end user and the developer. 'shinyjs' can also be used to easily
+call your own custom JavaScript functions from R.



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