diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2023-08-10 06:19:16 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2023-08-10 06:19:16 +0000 |
commit | 38be56a530a004de92b36d35bbd8e85cd9a0fd32 (patch) | |
tree | 4bdd14468f9938b83c157b1de34db1ed48f4e6f4 | |
parent | ecd1f183cb59922a7edb9fffdaf02dd303da0d58 (diff) | |
download | ports-38be56a530a004de92b36d35bbd8e85cd9a0fd32.tar.gz ports-38be56a530a004de92b36d35bbd8e85cd9a0fd32.zip |
textproc/p5-excel2csv: new port had been added (+)
Provides two scripts for converting Microsoft Excel
spreadsheet formats (both XLS and XLSX) to CSV.
PR: 254499
Submitted by: Henrik Rosenke
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-excel2csv/Makefile | 28 | ||||
-rw-r--r-- | textproc/p5-excel2csv/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-excel2csv/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/p5-excel2csv/pkg-plist | 4 |
5 files changed, 42 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index edaeabaa11f9..77e2a36a5153 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1192,6 +1192,7 @@ SUBDIR += p5-ack SUBDIR += p5-dTemplate SUBDIR += p5-docx2txt + SUBDIR += p5-excel2csv SUBDIR += p5-libsoldout SUBDIR += p5-libxml SUBDIR += p5-pod2pdf diff --git a/textproc/p5-excel2csv/Makefile b/textproc/p5-excel2csv/Makefile new file mode 100644 index 000000000000..74d252723474 --- /dev/null +++ b/textproc/p5-excel2csv/Makefile @@ -0,0 +1,28 @@ +PORTNAME= excel2csv +PORTVERSION= 1.07 +CATEGORIES= textproc perl5 +PKGNAMEPREFIX= p5- + +MAINTAINER= rosenke@dssgmbh.de +COMMENT= Convert Microsoft Excel spreadsheets to CSV format +WWW= https://github.com/xevo/xls2csv + +LICENSE= GPLv2 + +RUN_DEPENDS= p5-Locale-libintl>0:devel/p5-Locale-libintl \ + p5-Spreadsheet-ParseExcel>0:textproc/p5-Spreadsheet-ParseExcel \ + p5-Spreadsheet-XLSX>0:textproc/p5-Spreadsheet-XLSX \ + p5-Text-CSV_XS>0:textproc/p5-Text-CSV_XS \ + p5-Text-Iconv>0:converters/p5-Text-Iconv \ + p5-Unicode-Map>0:converters/p5-Unicode-Map + +USES= perl5 +USE_PERL5= configure +USE_GITHUB= yes +GH_ACCOUNT= xevo +GH_PROJECT= xls2csv +GH_TAGNAME= 49386af + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/p5-excel2csv/distinfo b/textproc/p5-excel2csv/distinfo new file mode 100644 index 000000000000..e1b95d608961 --- /dev/null +++ b/textproc/p5-excel2csv/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1624458591 +SHA256 (xevo-xls2csv-1.07-49386af_GH0.tar.gz) = 32444583fce3cda5314df691d675dd4fa148d7da840053d4fa1a9a4ec15ca92b +SIZE (xevo-xls2csv-1.07-49386af_GH0.tar.gz) = 15454 diff --git a/textproc/p5-excel2csv/pkg-descr b/textproc/p5-excel2csv/pkg-descr new file mode 100644 index 000000000000..6d46b5bbc313 --- /dev/null +++ b/textproc/p5-excel2csv/pkg-descr @@ -0,0 +1,6 @@ +excel2csv provides two scripts for converting Microsoft Excel spreadsheet +formats XLS and XLSX to CSV. Improvements compared to the CPAN version: + + - Supports XLSX files + - Handles character encodings much better + - The options make more sense diff --git a/textproc/p5-excel2csv/pkg-plist b/textproc/p5-excel2csv/pkg-plist new file mode 100644 index 000000000000..b8518ed2dade --- /dev/null +++ b/textproc/p5-excel2csv/pkg-plist @@ -0,0 +1,4 @@ +bin/excel2csv +bin/xls2csv +%%PERL5_MAN1%%/excel2csv.1.gz +%%PERL5_MAN1%%/xls2csv.1.gz |