aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-14 16:45:30 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-14 17:16:40 +0000
commit416a7fc6fb035ae08c28b589e7785fd5bec3c7aa (patch)
tree778e7432a5bf7e8bbc40adf0c0cc54e698a575ce
parentd578a654232fa6c6d7af6cebc6dd3d568f879fa9 (diff)
downloadports-416a7fc6fb035ae08c28b589e7785fd5bec3c7aa.tar.gz
ports-416a7fc6fb035ae08c28b589e7785fd5bec3c7aa.zip
textproc/p5-Spreadsheet-Read: Update to 0.85
- Add CSV, GNUMERIC, ODS, SXC, TOOLS, XLS and XLSX options Changes: https://metacpan.org/dist/Spreadsheet-Read/changes
-rw-r--r--textproc/p5-Spreadsheet-Read/Makefile40
-rw-r--r--textproc/p5-Spreadsheet-Read/distinfo6
2 files changed, 37 insertions, 9 deletions
diff --git a/textproc/p5-Spreadsheet-Read/Makefile b/textproc/p5-Spreadsheet-Read/Makefile
index b510f3324de7..886cac0e70f0 100644
--- a/textproc/p5-Spreadsheet-Read/Makefile
+++ b/textproc/p5-Spreadsheet-Read/Makefile
@@ -1,5 +1,5 @@
PORTNAME= Spreadsheet-Read
-PORTVERSION= 0.87
+PORTVERSION= 0.88
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:HMBRAND
@@ -13,11 +13,8 @@ LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
-RUN_DEPENDS= p5-Spreadsheet-ReadSXC>=0.26:textproc/p5-Spreadsheet-ReadSXC \
- p5-Spreadsheet-XLSX>=0.15:textproc/p5-Spreadsheet-XLSX \
- p5-Text-CSV>=1.97:textproc/p5-Text-CSV \
- p5-Text-CSV_XS>=1.36:textproc/p5-Text-CSV_XS
-TEST_DEPENDS= p5-Test-NoWarnings>0:devel/p5-Test-NoWarnings
+RUN_DEPENDS= p5-Data-Peek>=0.52:devel/p5-Data-Peek
+TEST_DEPENDS= p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings
USES= perl5 tar:tgz
USE_PERL5= configure
@@ -26,4 +23,35 @@ NO_ARCH= yes
CONFLICTS_INSTALL= catdoc libxls xls2txt
+OPTIONS_DEFINE= CSV GNUMERIC ODS SXC TOOLS XLS XLSX
+OPTIONS_DEFAULT=CSV GNUMERIC ODS SXC XLS XLSX
+CSV_DESC= Parse CSV streams
+GNUMERIC_DESC= Parse Gnumeric spreadsheets
+ODS_DESC= Parse OpenOffice spreadsheets
+SXC_DESC= Parse OpenOffice spreadsheets old style
+TOOLS_DESC= Spreadsheet tools
+XLS_DESC= Parse Microsoft Excel files
+XLSX_DESC= Parse Microsoft Excel 2007+ files
+
+CSV_BUILD_DEPENDS= p5-Text-CSV>=2.03:textproc/p5-Text-CSV \
+ p5-Text-CSV_XS>=1.52:textproc/p5-Text-CSV_XS
+CSV_RUN_DEPENDS= p5-Text-CSV>=2.03:textproc/p5-Text-CSV \
+ p5-Text-CSV_XS>=1.52:textproc/p5-Text-CSV_XS
+GNUMERIC_BUILD_DEPENDS= p5-Spreadsheet-ReadGnumeric>=0.4:textproc/p5-Spreadsheet-ReadGnumeric
+GNUMERIC_RUN_DEPENDS= p5-Spreadsheet-ReadGnumeric>=0.4:textproc/p5-Spreadsheet-ReadGnumeric
+ODS_BUILD_DEPENDS= p5-Spreadsheet-ReadSXC>=0.38:textproc/p5-Spreadsheet-ReadSXC
+ODS_RUN_DEPENDS= p5-Spreadsheet-ReadSXC>=0.38:textproc/p5-Spreadsheet-ReadSXC
+SXC_BUILD_DEPENDS= p5-Spreadsheet-ReadSXC>=0.38:textproc/p5-Spreadsheet-ReadSXC
+SXC_RUN_DEPENDS= p5-Spreadsheet-ReadSXC>=0.38:textproc/p5-Spreadsheet-ReadSXC
+TOOLS_BUILD_DEPENDS= p5-Tk>=804.036:x11-toolkits/p5-Tk \
+ p5-Tk-TableMatrix>=0:x11-toolkits/p5-Tk-TableMatrix
+TOOLS_RUN_DEPENDS= p5-Tk>=804.036:x11-toolkits/p5-Tk \
+ p5-Tk-TableMatrix>=0:x11-toolkits/p5-Tk-TableMatrix
+XLS_BUILD_DEPENDS= p5-Spreadsheet-ParseExcel>=0.65:textproc/p5-Spreadsheet-ParseExcel
+XLS_RUN_DEPENDS= p5-Spreadsheet-ParseExcel>=0.65:textproc/p5-Spreadsheet-ParseExcel
+XLSX_BUILD_DEPENDS= p5-Spreadsheet-ParseExcel>=0:textproc/p5-Spreadsheet-ParseExcel \
+ p5-Spreadsheet-ParseXLSX>=0.27:textproc/p5-Spreadsheet-ParseXLSX
+XLSX_RUN_DEPENDS= p5-Spreadsheet-ParseExcel>=0:textproc/p5-Spreadsheet-ParseExcel \
+ p5-Spreadsheet-ParseXLSX>=0.27:textproc/p5-Spreadsheet-ParseXLSX
+
.include <bsd.port.mk>
diff --git a/textproc/p5-Spreadsheet-Read/distinfo b/textproc/p5-Spreadsheet-Read/distinfo
index 68d00e680cc5..111cfda31173 100644
--- a/textproc/p5-Spreadsheet-Read/distinfo
+++ b/textproc/p5-Spreadsheet-Read/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679172848
-SHA256 (Spreadsheet-Read-0.87.tgz) = 963c0d075235bc4a320fbad7e62d9e47d5ca147edee3662855fa3042613ff4af
-SIZE (Spreadsheet-Read-0.87.tgz) = 271514
+TIMESTAMP = 1699774970
+SHA256 (Spreadsheet-Read-0.88.tgz) = e73b14824ad1ae9c4380e6ba2bccf099611736df433f04edd7f13e6e682553d5
+SIZE (Spreadsheet-Read-0.88.tgz) = 269393