1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

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
This commit is contained in:
Alexey Dokuchaev 2023-08-10 06:19:16 +00:00
parent ecd1f183cb
commit 38be56a530
5 changed files with 42 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,4 @@
bin/excel2csv
bin/xls2csv
%%PERL5_MAN1%%/excel2csv.1.gz
%%PERL5_MAN1%%/xls2csv.1.gz