Fairly simple update to ruby-mini_magick 3.3.  This version works on
both ruby 1.8 and 1.9.  This version requires a new dependency,
devel/ruby-subexec, attached.

Tested on amd64.  Looking for OKs.

Thanks,
Jeremy

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/ruby-mini_magick/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile    16 Sep 2011 10:02:38 -0000      1.9
+++ Makefile    3 Dec 2011 17:53:23 -0000
@@ -2,8 +2,7 @@
 
 COMMENT =      wrapper for ImageMagick command line tools
 
-DISTNAME =     mini_magick-1.2.5
-REVISION =     4
+DISTNAME =     mini_magick-3.3
 CATEGORIES =   graphics
 
 HOMEPAGE =     http://mini_magick.rubyforge.org/
@@ -20,6 +19,7 @@ CONFIGURE_STYLE =     ruby gem
 
 BUILD_DEPENDS =                ${RUN_DEPENDS}
 RUN_DEPENDS =          graphics/ImageMagick \
+                       devel/ruby-subexec,${MODRUBY_FLAVOR} \
                        devel/ruby-hoe,${MODRUBY_FLAVOR}
 
 MODRUBY_REGRESS =      rake
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/ruby-mini_magick/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    20 Aug 2009 21:59:45 -0000      1.2
+++ distinfo    3 Dec 2011 17:58:20 -0000
@@ -1,5 +1,5 @@
-MD5 (mini_magick-1.2.5.gem) = +ukLH3qxAxfpPwb6dnJpLQ==
-RMD160 (mini_magick-1.2.5.gem) = pDgSJIEmyrFqTrVmEK9vaHRdI/M=
-SHA1 (mini_magick-1.2.5.gem) = 0Ydam69lj3/wUQcTeNv78lgxak4=
-SHA256 (mini_magick-1.2.5.gem) = ztIzlf93Gh0UdaXvv2Ef6zPUJ43em9zVZ7g6h3EpRIU=
-SIZE (mini_magick-1.2.5.gem) = 1082368
+MD5 (mini_magick-3.3.gem) = l7Bp1y0DTWN9fAIQ6g9Cig==
+RMD160 (mini_magick-3.3.gem) = XjuLXlvmkGw9DYbOHjiBJThfFaI=
+SHA1 (mini_magick-3.3.gem) = fHiUaU4Q1Ns51Ao4CbHVD8h/WsU=
+SHA256 (mini_magick-3.3.gem) = D+kfLH66ANdq69DcxUKQhQJVzjePkVlrsrqKOj2kkvg=
+SIZE (mini_magick-3.3.gem) = 50176
Index: patches/patch-Rakefile
===================================================================
RCS file: patches/patch-Rakefile
diff -N patches/patch-Rakefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Rakefile      13 Dec 2011 18:45:49 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- Rakefile.orig      Tue Dec 13 10:45:39 2011
++++ Rakefile   Tue Dec 13 10:45:46 2011
+@@ -26,6 +26,7 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
+   rdoc.rdoc_files.include('lib/**/*.rb')
+ end
+ 
++__END__
+ spec = eval(File.read('mini_magick.gemspec'))
+ Gem::PackageTask.new(spec) do |pkg|
+   pkg.gem_spec = spec
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/ruby-mini_magick/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   8 Nov 2010 23:24:41 -0000       1.4
+++ pkg/PLIST   3 Dec 2011 17:58:25 -0000
@@ -1,23 +1,24 @@
 @comment $OpenBSD: PLIST,v 1.4 2010/11/08 23:24:41 jeremy Exp $
 ${GEM_LIB}/cache/${DISTNAME}.gem
 ${GEM_LIB}/gems/${DISTNAME}/
-${GEM_LIB}/gems/${DISTNAME}/.gitignore
 ${GEM_LIB}/gems/${DISTNAME}/MIT-LICENSE
 ${GEM_LIB}/gems/${DISTNAME}/README.rdoc
 ${GEM_LIB}/gems/${DISTNAME}/Rakefile
 ${GEM_LIB}/gems/${DISTNAME}/VERSION
 ${GEM_LIB}/gems/${DISTNAME}/lib/
-${GEM_LIB}/gems/${DISTNAME}/lib/image_temp_file.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/mini_gmagick.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/mini_magick.rb
-${GEM_LIB}/gems/${DISTNAME}/mini_magick.gemspec
 ${GEM_LIB}/gems/${DISTNAME}/test/
 ${GEM_LIB}/gems/${DISTNAME}/test/actually_a_gif.jpg
 ${GEM_LIB}/gems/${DISTNAME}/test/animation.gif
 ${GEM_LIB}/gems/${DISTNAME}/test/command_builder_test.rb
-${GEM_LIB}/gems/${DISTNAME}/test/image_temp_file_test.rb
+${GEM_LIB}/gems/${DISTNAME}/test/composited.jpg
 ${GEM_LIB}/gems/${DISTNAME}/test/image_test.rb
-${GEM_LIB}/gems/${DISTNAME}/test/leaves.tiff
+${GEM_LIB}/gems/${DISTNAME}/test/leaves (spaced).tiff
 ${GEM_LIB}/gems/${DISTNAME}/test/not_an_image.php
+${GEM_LIB}/gems/${DISTNAME}/test/png.png
+${GEM_LIB}/gems/${DISTNAME}/test/simple-minus.gif
 ${GEM_LIB}/gems/${DISTNAME}/test/simple.gif
 ${GEM_LIB}/gems/${DISTNAME}/test/trogdor.jpg
+${GEM_LIB}/gems/${DISTNAME}/test/trogdor_capitalized.JPG
 ${GEM_LIB}/specifications/${DISTNAME}.gemspec

Attachment: ruby-subexec.tar.gz
Description: application/tar-gz

Reply via email to