# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name xlsx2csv version 1.2 revision 1 categories textproc platforms any maintainers nomaintainer license GPL-3+ supported_archs noarch description Convert MS Word/Excel openspreadsheetML to plain CSV. long_description xlsx2csv is bash shell script which reads one Microsoft \ Excel file and outputs all tabs contained insinde it \ to CSV files. It handles dates and string data as well \ as numeric. homepage https://web.archive.org/web/20150910223552/http://kirk.webfinish.com/?p=91 master_sites http://kirk.webfinish.com/xlsx2csv/ checksums md5 46735abccbcab2669eff465e50177e6f \ sha1 4fe04e26e58e05b50ae2c84626f6328e3caa3192 \ rmd160 885977d4df6b2a07228fa65a35198697ab5325d6 depends_lib port:libxslt \ port:gsed \ port:sqlite3 extract.mkdir yes patchfiles patch-xlsx2csv.sh.diff post-patch { reinplace -W ${worksrcpath} "s|@PREFIX@|${prefix}|g" xlsx2csv.sh } use_configure no build {} destroot { xinstall -m 755 ${worksrcpath}/xlsx2csv.sh ${destroot}${prefix}/bin } livecheck.type none