aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-11-29 23:20:47 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-11-29 23:20:47 +0000
commit1cbdc8a8ccafd979e03e04a386e81976cb1c9e6d (patch)
tree42c3a7687197b9207efd7c1affdb4c4e331e7fa6
parent0c81f70ef4c866b9d1c1fc05c20099218897dcda (diff)
textproc/rubygem-terminal-table3: Add rubygem-terminal-table3 3.0.2 (copied from rubygem-terminal-table)
- Add PORTSCOUT
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-terminal-table3/Makefile24
-rw-r--r--textproc/rubygem-terminal-table3/distinfo3
-rw-r--r--textproc/rubygem-terminal-table3/pkg-descr8
4 files changed, 36 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c82fb07bb480..78c83df0b937 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -2019,6 +2019,7 @@
SUBDIR += rubygem-syntax
SUBDIR += rubygem-termcolor
SUBDIR += rubygem-terminal-table
+ SUBDIR += rubygem-terminal-table3
SUBDIR += rubygem-terser
SUBDIR += rubygem-text
SUBDIR += rubygem-tidy_ffi
diff --git a/textproc/rubygem-terminal-table3/Makefile b/textproc/rubygem-terminal-table3/Makefile
new file mode 100644
index 000000000000..b1fddbb19569
--- /dev/null
+++ b/textproc/rubygem-terminal-table3/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= terminal-table
+PORTVERSION= 3.0.2
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 3
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Simple, feature rich ASCII table generation library
+WWW= https://github.com/tj/terminal-table
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-unicode-display_width2>=1.1.1<3:devel/rubygem-unicode-display_width2
+
+USES= gem shebangfix
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^3\.
+
+SHEBANG_FILES= examples/examples_unicode.rb
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-terminal-table3/distinfo b/textproc/rubygem-terminal-table3/distinfo
new file mode 100644
index 000000000000..bc3f265aade9
--- /dev/null
+++ b/textproc/rubygem-terminal-table3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1632227626
+SHA256 (rubygem/terminal-table-3.0.2.gem) = f951b6af5f3e00203fb290a669e0a85c5dd5b051b3b023392ccfd67ba5abae91
+SIZE (rubygem/terminal-table-3.0.2.gem) = 22016
diff --git a/textproc/rubygem-terminal-table3/pkg-descr b/textproc/rubygem-terminal-table3/pkg-descr
new file mode 100644
index 000000000000..756fcd3b38a2
--- /dev/null
+++ b/textproc/rubygem-terminal-table3/pkg-descr
@@ -0,0 +1,8 @@
+Terminal Table is a fast and simple, yet feature rich ASCII table generator
+written in Ruby.
+
+Features:
+- Optional headings
+- Alignment of columns, headings, or cells
+- Supports column span
+- Easy modification of table strings (+, -, |)