aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-06-10 08:22:34 +0800
committerswills <swills@FreeBSD.org>2013-06-10 08:22:34 +0800
commit8857ee559c675837f2799d7b1ea527b3e615bc64 (patch)
tree169a49572d3d023c0fada9afaf025438961ccf1f /devel
parent9dfdb6ae3f0f8ce63c8cca28c34e78e024e1cdba (diff)
downloadfreebsd-ports-gnome-8857ee559c675837f2799d7b1ea527b3e615bc64.tar.gz
freebsd-ports-gnome-8857ee559c675837f2799d7b1ea527b3e615bc64.tar.zst
freebsd-ports-gnome-8857ee559c675837f2799d7b1ea527b3e615bc64.zip
pygments.rb exposes the pygments syntax highlighter to Ruby
WWW: https://github.com/tmm1/pygments.rb
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-pygments.rb/Makefile20
-rw-r--r--devel/rubygem-pygments.rb/distinfo2
-rw-r--r--devel/rubygem-pygments.rb/pkg-descr3
4 files changed, 26 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 8441d393e37c..abe01afcde80 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4124,6 +4124,7 @@
SUBDIR += rubygem-pry
SUBDIR += rubygem-pry-remote-em
SUBDIR += rubygem-ptreloaded
+ SUBDIR += rubygem-pygments.rb
SUBDIR += rubygem-racc
SUBDIR += rubygem-railsless-deploy
SUBDIR += rubygem-rainbow
diff --git a/devel/rubygem-pygments.rb/Makefile b/devel/rubygem-pygments.rb/Makefile
new file mode 100644
index 000000000000..fa8585ac4033
--- /dev/null
+++ b/devel/rubygem-pygments.rb/Makefile
@@ -0,0 +1,20 @@
+# Created by: Steve Wills <swills@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pygments.rb
+PORTVERSION= 0.5.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Exposes the pygments syntax highlighter to Ruby
+
+RUN_DEPENDS= rubygem-posix-spawn>=0.3.6:${PORTSDIR}/devel/rubygem-posix-spawn \
+ rubygem-yajl-ruby>=1.1.0:${PORTSDIR}/devel/rubygem-yajl-ruby \
+ pygmentize:${PORTSDIR}/textproc/py-pygments
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-pygments.rb/distinfo b/devel/rubygem-pygments.rb/distinfo
new file mode 100644
index 000000000000..68b3184e8056
--- /dev/null
+++ b/devel/rubygem-pygments.rb/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/pygments.rb-0.5.0.gem) = b0f1dc0e5da19df4df4863205a759b77fe2f30533ec3679d9bf1fb1de5c4e8ef
+SIZE (rubygem/pygments.rb-0.5.0.gem) = 1490432
diff --git a/devel/rubygem-pygments.rb/pkg-descr b/devel/rubygem-pygments.rb/pkg-descr
new file mode 100644
index 000000000000..5699c53a4da2
--- /dev/null
+++ b/devel/rubygem-pygments.rb/pkg-descr
@@ -0,0 +1,3 @@
+pygments.rb exposes the pygments syntax highlighter to Ruby
+
+WWW: https://github.com/tmm1/pygments.rb