git: bce2cca19635 - main - textproc/xlsxio: Add xlsxio 0.2.35

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 17:21:36 UTC
The branch main has been updated by sunpoet:

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

commit bce2cca19635bdb6a0092cb9e688c45503bbd29b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 16:43:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:13:49 +0000

    textproc/xlsxio: Add xlsxio 0.2.35
    
    XLSX I/O aims to provide a C library for reading and writing .xlsx files. The
    .xlsx file format is the native format used by Microsoft(R) Excel(TM) since
    version 2007.
---
 textproc/Makefile         |  1 +
 textproc/xlsxio/Makefile  | 28 ++++++++++++++++++++++++++++
 textproc/xlsxio/distinfo  |  3 +++
 textproc/xlsxio/pkg-descr |  3 +++
 textproc/xlsxio/pkg-plist | 18 ++++++++++++++++++
 5 files changed, 53 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 7cfb3d8dc297..fa2eff4091c7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -2135,6 +2135,7 @@
     SUBDIR += xlhtml
     SUBDIR += xlnt
     SUBDIR += xlreader
+    SUBDIR += xlsxio
     SUBDIR += xml-commons
     SUBDIR += xml-format
     SUBDIR += xml-lite.el
diff --git a/textproc/xlsxio/Makefile b/textproc/xlsxio/Makefile
new file mode 100644
index 000000000000..2b4ad9c33965
--- /dev/null
+++ b/textproc/xlsxio/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	xlsxio
+PORTVERSION=	0.2.35
+CATEGORIES=	textproc
+MASTER_SITES=	https://github.com/brechtsanders/xlsxio/releases/download/${PORTVERSION}/
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	C library for reading and writing .xlsx files
+WWW=		https://github.com/brechtsanders/xlsxio
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+LIB_DEPENDS=	libexpat.so:textproc/expat2 \
+		libminizip.so:archivers/minizip
+
+USES=		cmake pathfix tar:xz
+
+CMAKE_OFF=	BUILD_DOCUMENTATION \
+		BUILD_EXAMPLES \
+		WITH_LIBZIP \
+		WITH_MINIZIP_NG \
+		WITH_WIDE
+CMAKE_ON=	BUILD_PC_FILES \
+		BUILD_SHARED \
+		BUILD_STATIC \
+		BUILD_TOOLS
+
+.include <bsd.port.mk>
diff --git a/textproc/xlsxio/distinfo b/textproc/xlsxio/distinfo
new file mode 100644
index 000000000000..45df223a74e1
--- /dev/null
+++ b/textproc/xlsxio/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722711113
+SHA256 (xlsxio-0.2.35.tar.xz) = b42abf540449767832e285e79014cd2339a94613f7a63567c4118182798d55d3
+SIZE (xlsxio-0.2.35.tar.xz) = 40316
diff --git a/textproc/xlsxio/pkg-descr b/textproc/xlsxio/pkg-descr
new file mode 100644
index 000000000000..085696328dc1
--- /dev/null
+++ b/textproc/xlsxio/pkg-descr
@@ -0,0 +1,3 @@
+XLSX I/O aims to provide a C library for reading and writing .xlsx files. The
+.xlsx file format is the native format used by Microsoft(R) Excel(TM) since
+version 2007.
diff --git a/textproc/xlsxio/pkg-plist b/textproc/xlsxio/pkg-plist
new file mode 100644
index 000000000000..f7573c7a3912
--- /dev/null
+++ b/textproc/xlsxio/pkg-plist
@@ -0,0 +1,18 @@
+bin/xlsxio_csv2xlsx
+bin/xlsxio_xlsx2csv
+cmake/libxlsxio_readConfig.cmake
+cmake/libxlsxio_readConfigVersion.cmake
+cmake/libxlsxio_writeConfig.cmake
+cmake/libxlsxio_writeConfigVersion.cmake
+cmake/xlsxio-config.cmake
+cmake/xlsxioTargets-%%CMAKE_BUILD_TYPE%%.cmake
+cmake/xlsxioTargets.cmake
+include/xlsxio_read.h
+include/xlsxio_version.h
+include/xlsxio_write.h
+lib/libxlsxio_read.a
+lib/libxlsxio_read.so
+lib/libxlsxio_write.a
+lib/libxlsxio_write.so
+libdata/pkgconfig/libxlsxio_read.pc
+libdata/pkgconfig/libxlsxio_write.pc