summaryrefslogtreecommitdiff
path: root/graphics/ruby-color-japanese
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-12 01:43:31 +0000
committertaca <taca@pkgsrc.org>2010-09-12 01:43:31 +0000
commit48e49097c490129e3215223fa4bbd228b25407b0 (patch)
tree272cc8f64da052cf2043662098e80560a794280b /graphics/ruby-color-japanese
parent40450b69cc4d34b039fba5069e52d924a558a546 (diff)
downloadpkgsrc-48e49097c490129e3215223fa4bbd228b25407b0.tar.gz
Importing graphics/ruby-color-tools 1.0.0.
color-tools is a Ruby library to provide RGB, CMYK, and other colourspace support to applications that require it. It also provides 152 named RGB colours. It offers 152 named RGB colours (184 with spelling variations) that are commonly supported and used in HTML, SVG, and X11 applications. A technique for generating a monochromatic contrasting palette is also included.
Diffstat (limited to 'graphics/ruby-color-japanese')
-rw-r--r--graphics/ruby-color-japanese/DESCR6
-rw-r--r--graphics/ruby-color-japanese/Makefile17
-rw-r--r--graphics/ruby-color-japanese/PLIST41
-rw-r--r--graphics/ruby-color-japanese/distinfo15
-rw-r--r--graphics/ruby-color-japanese/patches/patch-aa12
-rw-r--r--graphics/ruby-color-japanese/patches/patch-ab12
-rw-r--r--graphics/ruby-color-japanese/patches/patch-ac12
-rw-r--r--graphics/ruby-color-japanese/patches/patch-ad12
-rw-r--r--graphics/ruby-color-japanese/patches/patch-ae12
-rw-r--r--graphics/ruby-color-japanese/patches/patch-af12
-rw-r--r--graphics/ruby-color-japanese/patches/patch-ag12
-rw-r--r--graphics/ruby-color-japanese/patches/patch-ah12
-rw-r--r--graphics/ruby-color-japanese/patches/patch-ai12
-rw-r--r--graphics/ruby-color-japanese/patches/patch-aj12
14 files changed, 199 insertions, 0 deletions
diff --git a/graphics/ruby-color-japanese/DESCR b/graphics/ruby-color-japanese/DESCR
new file mode 100644
index 00000000000..e1c53fa08b9
--- /dev/null
+++ b/graphics/ruby-color-japanese/DESCR
@@ -0,0 +1,6 @@
+color-japanese defines RGB value for Japanese color names.
+
+Supported color names are:
+
+ * Japanese traditional colors
+ * JIS Z 8102 (Names of non-luminous object colours)
diff --git a/graphics/ruby-color-japanese/Makefile b/graphics/ruby-color-japanese/Makefile
new file mode 100644
index 00000000000..4212fe69835
--- /dev/null
+++ b/graphics/ruby-color-japanese/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+DISTNAME= color-japanese-1.0.0
+CATEGORIES= graphics
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://color-japanese.rubyforge.org/
+COMMENT= Defines RGB value for Japanese color names
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-color-tools>0:../../graphics/ruby-color-tools
+DEPENDS+= ${RUBY_PKGPREFIX}-hoe>=1.2.0:../../devel/hoe
+
+CONFLICTS+= ruby[1-9][0-9]-color-japanese-[0-9]*
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/ruby-color-japanese/PLIST b/graphics/ruby-color-japanese/PLIST
new file mode 100644
index 00000000000..6f3c1c61be5
--- /dev/null
+++ b/graphics/ruby-color-japanese/PLIST
@@ -0,0 +1,41 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+bin/jcolorc
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.txt
+${GEM_LIBDIR}/History.txt
+${GEM_LIBDIR}/Manifest.txt
+${GEM_LIBDIR}/README.txt
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/jcolorc
+${GEM_LIBDIR}/examples/Rakefile
+${GEM_LIBDIR}/examples/color-test.html.in
+${GEM_LIBDIR}/examples/color2html.rb
+${GEM_LIBDIR}/examples/default.css.in
+${GEM_LIBDIR}/examples/default.html
+${GEM_LIBDIR}/examples/palletize.rb
+${GEM_LIBDIR}/helper/helper.rb
+${GEM_LIBDIR}/helper/rake.rb
+${GEM_LIBDIR}/helper/rake_sh_filter.rb
+${GEM_LIBDIR}/helper/util.rb
+${GEM_LIBDIR}/lib/color/rgb/jp.rb
+${GEM_LIBDIR}/lib/color/rgb/jp/base.rb
+${GEM_LIBDIR}/lib/color/rgb/jp/base/color_name.rb
+${GEM_LIBDIR}/lib/color/rgb/jp/base/encode.rb
+${GEM_LIBDIR}/lib/color/rgb/jp/base/named_rgb.rb
+${GEM_LIBDIR}/lib/color/rgb/jp/base/pallet.rb
+${GEM_LIBDIR}/lib/color/rgb/jp/compiler/command.rb
+${GEM_LIBDIR}/lib/color/rgb/jp/compiler/compiler.rb
+${GEM_LIBDIR}/lib/color/rgb/jp/jisz8102.rb
+${GEM_LIBDIR}/lib/color/rgb/jp/traditional.rb
+${GEM_LIBDIR}/lib/color/rgb/jp/version.rb
+${GEM_LIBDIR}/setup.rb
+${GEM_LIBDIR}/test/helper.rb
+${GEM_LIBDIR}/test/test_color_name.rb
+${GEM_LIBDIR}/test/test_compiler.rb
+${GEM_LIBDIR}/test/test_encode.rb
+${GEM_LIBDIR}/test/test_jisz8102.rb
+${GEM_LIBDIR}/test/test_named_rgb.rb
+${GEM_LIBDIR}/test/test_pallet.rb
+${GEM_LIBDIR}/test/test_traditional.rb
+${GEM_LIBDIR}/test/test_version.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/graphics/ruby-color-japanese/distinfo b/graphics/ruby-color-japanese/distinfo
new file mode 100644
index 00000000000..a82d04dc537
--- /dev/null
+++ b/graphics/ruby-color-japanese/distinfo
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+SHA1 (color-japanese-1.0.0.gem) = 7256f40953e0165fdebccd02104f089c2a4fbe9a
+RMD160 (color-japanese-1.0.0.gem) = 7f2b4dd64e3509b2c1717a9664579079c4e689a3
+Size (color-japanese-1.0.0.gem) = 52224 bytes
+SHA1 (patch-aa) = 79e95ade6884992331b40f2a3fe33757d66d8d1e
+SHA1 (patch-ab) = c0065f239829ddd7c3e86d398a4f3fe97b2b0828
+SHA1 (patch-ac) = 95e6740114cdf9793bac9576c35fa65b60d270ab
+SHA1 (patch-ad) = 5f3cbd4c2aaaace57830f3cfc16f2d8c568166b1
+SHA1 (patch-ae) = 9f12f8c9d30ee2694d259ad3af2f591719fc5fc2
+SHA1 (patch-af) = fa93a807efa58dc5197c3483d9a8ff5c42cc5e99
+SHA1 (patch-ag) = d03e9a2c3d5d7e7575d995b9845e28547498daa8
+SHA1 (patch-ah) = db26d3b28fdd393a5e3a0e036d0af5c38a68c3ab
+SHA1 (patch-ai) = d246acf52f9c50db32557248f0eb5a3b4ed1975b
+SHA1 (patch-aj) = 9f755fcb6c041b1c5f7bf0036fb66c832ccfd6c7
diff --git a/graphics/ruby-color-japanese/patches/patch-aa b/graphics/ruby-color-japanese/patches/patch-aa
new file mode 100644
index 00000000000..820eedb3949
--- /dev/null
+++ b/graphics/ruby-color-japanese/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+Add macig comment to specify script encoding.
+
+--- bin/jcolorc.orig 2010-09-03 08:05:33.000000000 +0000
++++ bin/jcolorc
+@@ -1,4 +1,5 @@
+ #!/usr/bin/ruby
++# coding: utf-8
+
+ #
+ # == NAME
diff --git a/graphics/ruby-color-japanese/patches/patch-ab b/graphics/ruby-color-japanese/patches/patch-ab
new file mode 100644
index 00000000000..f32a83d1315
--- /dev/null
+++ b/graphics/ruby-color-japanese/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+Fix script encoding.
+
+--- examples/color2html.rb.orig 2010-09-03 08:05:33.000000000 +0000
++++ examples/color2html.rb
+@@ -1,4 +1,4 @@
+-# -*- encoding: utf8 -*-
++# -*- encoding: utf-8 -*-
+
+ require "erb"
+ require "optparse"
diff --git a/graphics/ruby-color-japanese/patches/patch-ac b/graphics/ruby-color-japanese/patches/patch-ac
new file mode 100644
index 00000000000..73c8106d285
--- /dev/null
+++ b/graphics/ruby-color-japanese/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+Fix script encoding.
+
+--- lib/color/rgb/jp/jisz8102.rb.orig 2010-09-03 08:05:33.000000000 +0000
++++ lib/color/rgb/jp/jisz8102.rb
+@@ -1,4 +1,4 @@
+-# -*- encoding: utf8 -*-
++# -*- encoding: utf-8 -*-
+
+ require "color"
+ require "color/rgb/jp/base"
diff --git a/graphics/ruby-color-japanese/patches/patch-ad b/graphics/ruby-color-japanese/patches/patch-ad
new file mode 100644
index 00000000000..1b1587b4cf8
--- /dev/null
+++ b/graphics/ruby-color-japanese/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+Fix script encoding.
+
+--- lib/color/rgb/jp/traditional.rb.orig 2010-09-03 08:05:33.000000000 +0000
++++ lib/color/rgb/jp/traditional.rb
+@@ -1,4 +1,4 @@
+-# -*- encoding: utf8 -*-
++# -*- encoding: utf-8 -*-
+
+ require "color"
+ require "color/rgb/jp/base"
diff --git a/graphics/ruby-color-japanese/patches/patch-ae b/graphics/ruby-color-japanese/patches/patch-ae
new file mode 100644
index 00000000000..30a6347f3f1
--- /dev/null
+++ b/graphics/ruby-color-japanese/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+Fix script encoding.
+
+--- test/test_color_name.rb.orig 2010-09-03 08:05:33.000000000 +0000
++++ test/test_color_name.rb
+@@ -1,4 +1,4 @@
+-# -*- encoding: utf8 -*-
++# -*- encoding: utf-8 -*-
+
+ require File.dirname(__FILE__) + '/helper.rb'
+
diff --git a/graphics/ruby-color-japanese/patches/patch-af b/graphics/ruby-color-japanese/patches/patch-af
new file mode 100644
index 00000000000..2b12de95fca
--- /dev/null
+++ b/graphics/ruby-color-japanese/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+Fix script encoding.
+
+--- test/test_compiler.rb.orig 2010-09-03 08:05:33.000000000 +0000
++++ test/test_compiler.rb
+@@ -1,4 +1,4 @@
+-# -*- encoding: utf8 -*-
++# -*- encoding: utf-8 -*-
+
+ require File.dirname(__FILE__) + '/helper.rb'
+ require "color/rgb/jp/compiler/compiler"
diff --git a/graphics/ruby-color-japanese/patches/patch-ag b/graphics/ruby-color-japanese/patches/patch-ag
new file mode 100644
index 00000000000..c78e5f1b186
--- /dev/null
+++ b/graphics/ruby-color-japanese/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+Fix script encoding.
+
+--- test/test_encode.rb.orig 2010-09-03 08:05:33.000000000 +0000
++++ test/test_encode.rb
+@@ -1,4 +1,4 @@
+-# -*- encoding: utf8 -*-
++# -*- encoding: utf-8 -*-
+
+ require File.dirname(__FILE__) + '/helper.rb'
+
diff --git a/graphics/ruby-color-japanese/patches/patch-ah b/graphics/ruby-color-japanese/patches/patch-ah
new file mode 100644
index 00000000000..d54a745d829
--- /dev/null
+++ b/graphics/ruby-color-japanese/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+Fix script encoding.
+
+--- test/test_jisz8102.rb.orig 2010-09-03 08:05:33.000000000 +0000
++++ test/test_jisz8102.rb
+@@ -1,4 +1,4 @@
+-# -*- encoding: utf8 -*-
++# -*- encoding: utf-8 -*-
+
+ require File.dirname(__FILE__) + '/helper.rb'
+
diff --git a/graphics/ruby-color-japanese/patches/patch-ai b/graphics/ruby-color-japanese/patches/patch-ai
new file mode 100644
index 00000000000..cfde0a7b438
--- /dev/null
+++ b/graphics/ruby-color-japanese/patches/patch-ai
@@ -0,0 +1,12 @@
+$NetBSD: patch-ai,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+Fix script encoding.
+
+--- test/test_pallet.rb.orig 2010-09-03 08:05:33.000000000 +0000
++++ test/test_pallet.rb
+@@ -1,4 +1,4 @@
+-# -*- encoding: utf8 -*-
++# -*- encoding: utf-8 -*-
+
+ require File.dirname(__FILE__) + '/helper.rb'
+
diff --git a/graphics/ruby-color-japanese/patches/patch-aj b/graphics/ruby-color-japanese/patches/patch-aj
new file mode 100644
index 00000000000..f7686835409
--- /dev/null
+++ b/graphics/ruby-color-japanese/patches/patch-aj
@@ -0,0 +1,12 @@
+$NetBSD: patch-aj,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
+
+Fix script encoding.
+
+--- test/test_traditional.rb.orig 2010-09-03 08:05:33.000000000 +0000
++++ test/test_traditional.rb
+@@ -1,4 +1,4 @@
+-# -*- encoding: utf8 -*-
++# -*- encoding: utf-8 -*-
+
+ require File.dirname(__FILE__) + '/helper.rb'
+