aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-10-25 03:06:02 +0800
committerswills <swills@FreeBSD.org>2013-10-25 03:06:02 +0800
commit7e5ea1909d20120b8b93e4bd9dc52e4ee445ff23 (patch)
treefd90f719edc69a6663fb7e925af2bb06110882aa /textproc
parent0e38a8fe6276b81d29392f9cead18d8caabbcfa0 (diff)
downloadfreebsd-ports-gnome-7e5ea1909d20120b8b93e4bd9dc52e4ee445ff23.tar.gz
freebsd-ports-gnome-7e5ea1909d20120b8b93e4bd9dc52e4ee445ff23.tar.zst
freebsd-ports-gnome-7e5ea1909d20120b8b93e4bd9dc52e4ee445ff23.zip
GitHub Language detection
WWW: https://github.com/github/linguist PR: ports/182735 Submitted by: Loic Blot <loic.blot@unix-experience.fr>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-github-linguist/Makefile22
-rw-r--r--textproc/rubygem-github-linguist/distinfo2
-rw-r--r--textproc/rubygem-github-linguist/pkg-descr3
4 files changed, 28 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 57c31477b67f..77ca9ebed5fc 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1301,6 +1301,7 @@
SUBDIR += rubygem-ferret
SUBDIR += rubygem-gemoji
SUBDIR += rubygem-gherkin
+ SUBDIR += rubygem-github-linguist
SUBDIR += rubygem-heredoc_unindent
SUBDIR += rubygem-hikidoc
SUBDIR += rubygem-htmlentities
diff --git a/textproc/rubygem-github-linguist/Makefile b/textproc/rubygem-github-linguist/Makefile
new file mode 100644
index 000000000000..1275099a03a4
--- /dev/null
+++ b/textproc/rubygem-github-linguist/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= github-linguist
+PORTVERSION= 2.9.4
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= GitHub Language detection
+
+RUN_DEPENDS= rubygem-charlock_holmes>=0.6.6:${PORTSDIR}/textproc/rubygem-charlock_holmes \
+ rubygem-escape_utils>=0.3.1:${PORTSDIR}/textproc/rubygem-escape_utils \
+ rubygem-mime-types>=1.19:${PORTSDIR}/misc/rubygem-mime-types \
+ rubygem-pygments.rb>=0.5.2:${PORTSDIR}/devel/rubygem-pygments.rb
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+NO_STAGE= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-github-linguist/distinfo b/textproc/rubygem-github-linguist/distinfo
new file mode 100644
index 000000000000..5457f23e0e74
--- /dev/null
+++ b/textproc/rubygem-github-linguist/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/github-linguist-2.9.4.gem) = bcd5a296f4cf08520f9025e4370a48471ff2965ee3fe12f2fb16b49980112d6f
+SIZE (rubygem/github-linguist-2.9.4.gem) = 240640
diff --git a/textproc/rubygem-github-linguist/pkg-descr b/textproc/rubygem-github-linguist/pkg-descr
new file mode 100644
index 000000000000..62545c9ca504
--- /dev/null
+++ b/textproc/rubygem-github-linguist/pkg-descr
@@ -0,0 +1,3 @@
+GitHub Language detection
+
+WWW: https://github.com/github/linguist