aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormmoll <mmoll@FreeBSD.org>2015-05-08 23:55:16 +0800
committermmoll <mmoll@FreeBSD.org>2015-05-08 23:55:16 +0800
commit3911958ec7fc6a2d19c37a9906d48dc025dd50f3 (patch)
treea8e1b166425ba32203d938f464508b8ee3ee6bba /textproc
parent17faa333baf664661529e0153a9b67ad53ae7c2a (diff)
downloadfreebsd-ports-gnome-3911958ec7fc6a2d19c37a9906d48dc025dd50f3.tar.gz
freebsd-ports-gnome-3911958ec7fc6a2d19c37a9906d48dc025dd50f3.tar.zst
freebsd-ports-gnome-3911958ec7fc6a2d19c37a9906d48dc025dd50f3.zip
new port: textproc/rubygem-twitter-text
Ruby gem for handling of Twitter texts WWW: https://github.com/twitter/twitter-text PR: 199924 Differential Revision: https://reviews.freebsd.org/D2484 Submitted by: Torsten Zuehlsdorff <ports@toco-domains.de> Approved by: mat (mentor)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-twitter-text/Makefile20
-rw-r--r--textproc/rubygem-twitter-text/distinfo2
-rw-r--r--textproc/rubygem-twitter-text/pkg-descr7
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 67568d6cc198..9023c8ab62e7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1397,6 +1397,7 @@
SUBDIR += rubygem-terminal-table
SUBDIR += rubygem-text
SUBDIR += rubygem-tidy
+ SUBDIR += rubygem-twitter-text
SUBDIR += rubygem-unf
SUBDIR += rubygem-unf_ext
SUBDIR += rubygem-version_sorter
diff --git a/textproc/rubygem-twitter-text/Makefile b/textproc/rubygem-twitter-text/Makefile
new file mode 100644
index 000000000000..24b895837b21
--- /dev/null
+++ b/textproc/rubygem-twitter-text/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= twitter-text
+PORTVERSION= 1.12.0
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Ruby gem for handling of Twitter texts
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= rubygem-unf>=0.1.0:${PORTSDIR}/textproc/rubygem-unf
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-twitter-text/distinfo b/textproc/rubygem-twitter-text/distinfo
new file mode 100644
index 000000000000..78c55de675fb
--- /dev/null
+++ b/textproc/rubygem-twitter-text/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/twitter-text-1.12.0.gem) = 1b5c0bd5db4b16e6eda1992385e86c40890496a709f28ead7ede98f9f7ba778a
+SIZE (rubygem/twitter-text-1.12.0.gem) = 44032
diff --git a/textproc/rubygem-twitter-text/pkg-descr b/textproc/rubygem-twitter-text/pkg-descr
new file mode 100644
index 000000000000..a75fb28bc1a7
--- /dev/null
+++ b/textproc/rubygem-twitter-text/pkg-descr
@@ -0,0 +1,7 @@
+A Ruby gem that provides text handling for Twitter messages.
+
+The main use cases for this gem are unified handling of
+various auto-linking mechanisms and extraction of
+usernames, lists, hashtags and URLs.
+
+WWW: https://github.com/twitter/twitter-text