git: 9ade9649c46d - main - textproc/pecl-xlswriter: Add pecl-xlswriter 1.5.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 17:21:41 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9ade9649c46df83371303fbfbe3287a4fdfdfdbb
commit 9ade9649c46df83371303fbfbe3287a4fdfdfdbb
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 16:44:00 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:13:50 +0000
textproc/pecl-xlswriter: Add pecl-xlswriter 1.5.5
xlswriter is a PHP C Extension that can be used to write text, numbers, formulas
and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.
---
textproc/Makefile | 1 +
textproc/pecl-xlswriter/Makefile | 20 ++++++++++++++++++++
textproc/pecl-xlswriter/distinfo | 3 +++
textproc/pecl-xlswriter/pkg-descr | 2 ++
4 files changed, 26 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index fa2eff4091c7..02e238486977 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1252,6 +1252,7 @@
SUBDIR += pear-YAML
SUBDIR += pecl-pspell
SUBDIR += pecl-xdiff2
+ SUBDIR += pecl-xlswriter
SUBDIR += pecl-yaml
SUBDIR += pecl-zephir_parser
SUBDIR += peco
diff --git a/textproc/pecl-xlswriter/Makefile b/textproc/pecl-xlswriter/Makefile
new file mode 100644
index 000000000000..798b25a08ef9
--- /dev/null
+++ b/textproc/pecl-xlswriter/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= xlswriter
+PORTVERSION= 1.5.5
+CATEGORIES= textproc
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Efficient and fast xlsx file extension
+WWW= https://pecl.php.net/package/xlswriter \
+ https://github.com/viest/php-ext-xlswriter
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= localbase php:pecl ssl
+
+LIB_DEPENDS= libxlsxio_read.so:textproc/xlsxio
+
+CONFIGURE_ARGS= --with-libxlsxio=${LOCALBASE} \
+ --with-openssl=${OPENSSLBASE}
+
+.include <bsd.port.mk>
diff --git a/textproc/pecl-xlswriter/distinfo b/textproc/pecl-xlswriter/distinfo
new file mode 100644
index 000000000000..d4c42738c1ae
--- /dev/null
+++ b/textproc/pecl-xlswriter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722711121
+SHA256 (PECL/xlswriter-1.5.5.tgz) = 4b8c8aacf48737c0d741a2401f4c495318ca18879e9bfcef5f698946ef28c671
+SIZE (PECL/xlswriter-1.5.5.tgz) = 631705
diff --git a/textproc/pecl-xlswriter/pkg-descr b/textproc/pecl-xlswriter/pkg-descr
new file mode 100644
index 000000000000..10dd3dbde233
--- /dev/null
+++ b/textproc/pecl-xlswriter/pkg-descr
@@ -0,0 +1,2 @@
+xlswriter is a PHP C Extension that can be used to write text, numbers, formulas
+and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.