summaryrefslogtreecommitdiff
path: root/misc/ruby-colorator
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-09-15 17:13:59 +0000
committertaca <taca@pkgsrc.org>2013-09-15 17:13:59 +0000
commit6e96ceb6458b684f991bf065fec676e12e6a35b4 (patch)
treee8efba052f708497c8ad177997d8b5d618a6e05b /misc/ruby-colorator
parente9dd67b923c8c03d0661d89700d9235f2ae4a539 (diff)
downloadpkgsrc-6e96ceb6458b684f991bf065fec676e12e6a35b4.tar.gz
Add ruby-colorator package version 0.1.
# colorator Colorize your text for the terminal ## Supported Colors - black - red - green - yellow - blue - magenta - cyan - white - bold ## Why There are a bunch of gems that provide functionality like this, but none have as simple an API as this. Just call `"string".color` and your text will be colorized.
Diffstat (limited to 'misc/ruby-colorator')
-rw-r--r--misc/ruby-colorator/DESCR21
-rw-r--r--misc/ruby-colorator/Makefile12
-rw-r--r--misc/ruby-colorator/PLIST13
-rw-r--r--misc/ruby-colorator/distinfo5
4 files changed, 51 insertions, 0 deletions
diff --git a/misc/ruby-colorator/DESCR b/misc/ruby-colorator/DESCR
new file mode 100644
index 00000000000..0fe91d14f77
--- /dev/null
+++ b/misc/ruby-colorator/DESCR
@@ -0,0 +1,21 @@
+# colorator
+
+Colorize your text for the terminal
+
+## Supported Colors
+
+- black
+- red
+- green
+- yellow
+- blue
+- magenta
+- cyan
+- white
+- bold
+
+## Why
+
+There are a bunch of gems that provide functionality like this, but none have
+as simple an API as this. Just call `"string".color` and your text will be
+colorized.
diff --git a/misc/ruby-colorator/Makefile b/misc/ruby-colorator/Makefile
new file mode 100644
index 00000000000..8fa499a1a5f
--- /dev/null
+++ b/misc/ruby-colorator/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2013/09/15 17:13:59 taca Exp $
+
+DISTNAME= colorator-0.1
+CATEGORIES= misc
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/octopress/colorator
+COMMENT= Colorize your text in the terminal
+LICENSE= mit
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/ruby-colorator/PLIST b/misc/ruby-colorator/PLIST
new file mode 100644
index 00000000000..33bb4b12258
--- /dev/null
+++ b/misc/ruby-colorator/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/15 17:13:59 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.markdown
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/colorator.gemspec
+${GEM_LIBDIR}/lib/colorator.rb
+${GEM_LIBDIR}/lib/colorator/core_ext.rb
+${GEM_LIBDIR}/spec/colorator/core_ext_spec.rb
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
+@pkgdir lib/ruby/gems/2.0.0/build_info
diff --git a/misc/ruby-colorator/distinfo b/misc/ruby-colorator/distinfo
new file mode 100644
index 00000000000..c53f6aa82fa
--- /dev/null
+++ b/misc/ruby-colorator/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/09/15 17:13:59 taca Exp $
+
+SHA1 (colorator-0.1.gem) = 990e8354185850a44929c5980a170baddf0a4ec4
+RMD160 (colorator-0.1.gem) = 7851ea3f5a740ff96c786a564aa6dbc7e75f24cd
+Size (colorator-0.1.gem) = 7680 bytes