aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-09-24 16:10:19 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-09-24 16:10:19 +0800
commitd8510889d62f82dbe5742a386534a3101879b495 (patch)
tree8cc8a0e043ee15bb31ce25308c831b57c8769506 /textproc
parent76527bec7f8a49cb4e3d84f822040a45859e1c40 (diff)
downloadfreebsd-ports-gnome-d8510889d62f82dbe5742a386534a3101879b495.tar.gz
freebsd-ports-gnome-d8510889d62f82dbe5742a386534a3101879b495.tar.zst
freebsd-ports-gnome-d8510889d62f82dbe5742a386534a3101879b495.zip
Add p5-Text-Table-XLSX 0.001
Text::Table::XLSX provides a single function, table, which takes a two-dimensional array of data and generate an XLSX data stream from it. It's basically a very thin wrapper for Spreadsheet::GenerateXLSX. WWW: https://metacpan.org/release/Text-Table-XLSX
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Table-XLSX/Makefile25
-rw-r--r--textproc/p5-Text-Table-XLSX/distinfo3
-rw-r--r--textproc/p5-Text-Table-XLSX/pkg-descr5
-rw-r--r--textproc/p5-Text-Table-XLSX/pkg-plist2
5 files changed, 36 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 8be938411675..b01ccd1caa6f 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -958,6 +958,7 @@
SUBDIR += p5-Text-Table-Any
SUBDIR += p5-Text-Table-Manifold
SUBDIR += p5-Text-Table-Tiny
+ SUBDIR += p5-Text-Table-XLSX
SUBDIR += p5-Text-Tabs+Wrap
SUBDIR += p5-Text-TabularDisplay
SUBDIR += p5-Text-Tags
diff --git a/textproc/p5-Text-Table-XLSX/Makefile b/textproc/p5-Text-Table-XLSX/Makefile
new file mode 100644
index 000000000000..fd1a84fc229f
--- /dev/null
+++ b/textproc/p5-Text-Table-XLSX/Makefile
@@ -0,0 +1,25 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Text-Table-XLSX
+PORTVERSION= 0.001
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Generate XLSX worksheet
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Spreadsheet-GenerateXLSX>=0:textproc/p5-Spreadsheet-GenerateXLSX
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Table-XLSX/distinfo b/textproc/p5-Text-Table-XLSX/distinfo
new file mode 100644
index 000000000000..59d53336aaee
--- /dev/null
+++ b/textproc/p5-Text-Table-XLSX/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537768691
+SHA256 (Text-Table-XLSX-0.001.tar.gz) = 43af63a3b8366f3a79c020da4d272d974f21e76dd5755097c9e3920ce95a80b1
+SIZE (Text-Table-XLSX-0.001.tar.gz) = 14183
diff --git a/textproc/p5-Text-Table-XLSX/pkg-descr b/textproc/p5-Text-Table-XLSX/pkg-descr
new file mode 100644
index 000000000000..2d16268964c1
--- /dev/null
+++ b/textproc/p5-Text-Table-XLSX/pkg-descr
@@ -0,0 +1,5 @@
+Text::Table::XLSX provides a single function, table, which takes a
+two-dimensional array of data and generate an XLSX data stream from it. It's
+basically a very thin wrapper for Spreadsheet::GenerateXLSX.
+
+WWW: https://metacpan.org/release/Text-Table-XLSX
diff --git a/textproc/p5-Text-Table-XLSX/pkg-plist b/textproc/p5-Text-Table-XLSX/pkg-plist
new file mode 100644
index 000000000000..4f2526d09487
--- /dev/null
+++ b/textproc/p5-Text-Table-XLSX/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Text/Table/XLSX.pm
+%%PERL5_MAN3%%/Text::Table::XLSX.3.gz