git: 9bf908be6eaf - main - textproc/R-cran-writexl: new port

From: Wen Heping <wen_at_FreeBSD.org>
Date: Thu, 04 Jul 2024 13:50:06 UTC
The branch main has been updated by wen:

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

commit 9bf908be6eaf105ad8a269758c9c1bec52fd17c2
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-07-04 13:49:04 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-07-04 13:49:43 +0000

    textproc/R-cran-writexl: new port
    
    Zero-dependency data frame to xlsx exporter based on 'libxlsxwriter'.
    Fast and no Java or Excel required.
---
 textproc/Makefile                 |  1 +
 textproc/R-cran-writexl/Makefile  | 19 +++++++++++++++++++
 textproc/R-cran-writexl/distinfo  |  3 +++
 textproc/R-cran-writexl/pkg-descr |  2 ++
 4 files changed, 25 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 697af11383fb..102c13699d50 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -32,6 +32,7 @@
     SUBDIR += R-cran-tth
     SUBDIR += R-cran-utf8
     SUBDIR += R-cran-vroom
+    SUBDIR += R-cran-writexl
     SUBDIR += R-cran-xml2
     SUBDIR += R-cran-xmlparsedata
     SUBDIR += R-cran-xtable
diff --git a/textproc/R-cran-writexl/Makefile b/textproc/R-cran-writexl/Makefile
new file mode 100644
index 000000000000..76c89d88716e
--- /dev/null
+++ b/textproc/R-cran-writexl/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	writexl
+DISTVERSION=	1.5.0
+CATEGORIES=	textproc
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	Export Data Frames to Excel Format
+WWW=		https://github.com/ropensci/writexl/
+
+LICENSE=	BSD2CLAUSE
+
+RUN_DEPENDS=	R-cran-spelling>=0:textproc/R-cran-spelling \
+		R-cran-bit64>=0:devel/R-cran-bit64 \
+		R-cran-readxl>=0:textproc/R-cran-readxl
+TEST_DEPENDS=	R-cran-testthat>=0:devel/R-cran-testthat
+
+USES=		cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/textproc/R-cran-writexl/distinfo b/textproc/R-cran-writexl/distinfo
new file mode 100644
index 000000000000..790d0c770a76
--- /dev/null
+++ b/textproc/R-cran-writexl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1720097741
+SHA256 (writexl_1.5.0.tar.gz) = e253dc58f00abf51e9b727ae132e8b301e359fb23df0afc40c3ebec3fb096dce
+SIZE (writexl_1.5.0.tar.gz) = 278311
diff --git a/textproc/R-cran-writexl/pkg-descr b/textproc/R-cran-writexl/pkg-descr
new file mode 100644
index 000000000000..58a02723aecf
--- /dev/null
+++ b/textproc/R-cran-writexl/pkg-descr
@@ -0,0 +1,2 @@
+Zero-dependency data frame to xlsx exporter based on 'libxlsxwriter'.
+Fast and no Java or Excel required.