summaryrefslogtreecommitdiff
path: root/graphics/ruby-color
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ruby-color')
-rw-r--r--graphics/ruby-color/DESCR8
-rw-r--r--graphics/ruby-color/Makefile24
-rw-r--r--graphics/ruby-color/PLIST40
-rw-r--r--graphics/ruby-color/distinfo5
4 files changed, 77 insertions, 0 deletions
diff --git a/graphics/ruby-color/DESCR b/graphics/ruby-color/DESCR
new file mode 100644
index 00000000000..5c076d60051
--- /dev/null
+++ b/graphics/ruby-color/DESCR
@@ -0,0 +1,8 @@
+The capabilities of the Color library are limited to pure mathematical
+manipulation of the colors based on color theory without reference to
+color profiles (such as sRGB or Adobe RGB). For most purposes, when
+working with the RGB and HSL colors, this won't matter. However, some
+color models (like CIE La*b) are not supported because Color does not
+yet support color profiles, giving no meaningful way to convert colors
+in absolute color spaces (like La*b, XYZ) to non-absolute color spaces
+(like RGB).
diff --git a/graphics/ruby-color/Makefile b/graphics/ruby-color/Makefile
new file mode 100644
index 00000000000..07cc63eb2ce
--- /dev/null
+++ b/graphics/ruby-color/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:19:16 jlam Exp $
+
+DISTNAME= color-1.4.0
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= graphics
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://color.rubyforge.org/
+COMMENT= Color value conversion and manipulation library
+
+DEPENDS+= hoe>=1.5.1:../../devel/hoe
+DEPENDS+= ${RUBY_PKGPREFIX}-archive-tar-minitar>=0.5.1:../../archivers/ruby-archive-tar-minitar
+
+# Newer version of hoe look for README.txt, not Readme.txt.
+SUBST_CLASSES= readme
+SUBST_STAGE.readme= pre-build
+SUBST_FILES.readme= Manifest.txt Rakefile lib/color.rb
+SUBST_SED.readme= -e "s,Readme,README,g"
+
+post-extract:
+ cd ${WRKSRC} && mv Readme.txt README.txt
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/ruby-color/PLIST b/graphics/ruby-color/PLIST
new file mode 100644
index 00000000000..ef0d33aff16
--- /dev/null
+++ b/graphics/ruby-color/PLIST
@@ -0,0 +1,40 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:19:16 jlam Exp $
+${GEM_HOME}/cache/color-${PKGVERSION}.gem
+${GEM_LIBDIR}/History.txt
+${GEM_LIBDIR}/Install.txt
+${GEM_LIBDIR}/Licence.txt
+${GEM_LIBDIR}/Manifest.txt
+${GEM_LIBDIR}/README.txt
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/color.rb
+${GEM_LIBDIR}/lib/color/cmyk.rb
+${GEM_LIBDIR}/lib/color/css.rb
+${GEM_LIBDIR}/lib/color/grayscale.rb
+${GEM_LIBDIR}/lib/color/hsl.rb
+${GEM_LIBDIR}/lib/color/palette.rb
+${GEM_LIBDIR}/lib/color/palette/adobecolor.rb
+${GEM_LIBDIR}/lib/color/palette/gimp.rb
+${GEM_LIBDIR}/lib/color/palette/monocontrast.rb
+${GEM_LIBDIR}/lib/color/rgb-colors.rb
+${GEM_LIBDIR}/lib/color/rgb.rb
+${GEM_LIBDIR}/lib/color/rgb/metallic.rb
+${GEM_LIBDIR}/lib/color/yiq.rb
+${GEM_LIBDIR}/setup.rb
+${GEM_LIBDIR}/test/test_adobecolor.rb
+${GEM_LIBDIR}/test/test_all.rb
+${GEM_LIBDIR}/test/test_cmyk.rb
+${GEM_LIBDIR}/test/test_color.rb
+${GEM_LIBDIR}/test/test_css.rb
+${GEM_LIBDIR}/test/test_gimp.rb
+${GEM_LIBDIR}/test/test_grayscale.rb
+${GEM_LIBDIR}/test/test_hsl.rb
+${GEM_LIBDIR}/test/test_monocontrast.rb
+${GEM_LIBDIR}/test/test_rgb.rb
+${GEM_LIBDIR}/test/test_yiq.rb
+${GEM_HOME}/specifications/color-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/test
+@dirrm ${GEM_LIBDIR}/lib/color/rgb
+@dirrm ${GEM_LIBDIR}/lib/color/palette
+@dirrm ${GEM_LIBDIR}/lib/color
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}
diff --git a/graphics/ruby-color/distinfo b/graphics/ruby-color/distinfo
new file mode 100644
index 00000000000..ec1d0e5c1a8
--- /dev/null
+++ b/graphics/ruby-color/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:19:16 jlam Exp $
+
+SHA1 (color-1.4.0.gem) = 3cae3fe96ef50bee49a242a609d349923fd54acd
+RMD160 (color-1.4.0.gem) = 435746e7a36b446c9f61661480f691975dd40a02
+Size (color-1.4.0.gem) = 49664 bytes