summaryrefslogtreecommitdiff
path: root/graphics/ruby-RMagick
diff options
context:
space:
mode:
authorobache <obache>2008-01-31 06:18:24 +0000
committerobache <obache>2008-01-31 06:18:24 +0000
commit160b9fd1272643cec15119d49d59ea2dbeb76f57 (patch)
tree5ada3d7c7add7ed72325bd8ef817ee68369ec362 /graphics/ruby-RMagick
parentf41faa8c21908d973c65db27cff37f8fc6ebc08e (diff)
downloadpkgsrc-160b9fd1272643cec15119d49d59ea2dbeb76f57.tar.gz
Update RMagick to 2.2.0.
While here, add DESTDIR support. Changes: RMagick 2.2.0 o Added Image#opaque_channel, Image#paint_transparent (available with ImageMagick 6.3.7-10) o Added Image#liquid_rescale (available with ImageMagick 6.3.8-2) o Added CMYColorspace ColorspaceType value o Fixed bug #17148, compiler error message on Solaris (bug report by Trever Wennblom) o Fixed bug #17470, get_exif_by_number, get_exif_by_entry may fail when called with one or more arguments
Diffstat (limited to 'graphics/ruby-RMagick')
-rw-r--r--graphics/ruby-RMagick/Makefile20
-rw-r--r--graphics/ruby-RMagick/distinfo8
2 files changed, 18 insertions, 10 deletions
diff --git a/graphics/ruby-RMagick/Makefile b/graphics/ruby-RMagick/Makefile
index 5475e9396c6..f8a84b3faa4 100644
--- a/graphics/ruby-RMagick/Makefile
+++ b/graphics/ruby-RMagick/Makefile
@@ -1,25 +1,33 @@
-# $NetBSD: Makefile,v 1.44 2008/01/12 04:35:47 obache Exp $
+# $NetBSD: Makefile,v 1.45 2008/01/31 06:18:24 obache Exp $
-DISTNAME= RMagick-2.1.0
+DISTNAME= RMagick-2.2.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= graphics ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/30515/ \
+MASTER_SITES= http://rubyforge.org/frs/download.php/31524/ \
http://raa.ruby-lang.org/cache/rmagick/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://rmagick.rubyforge.org/
COMMENT= Ruby binding to ImageMagick
+PKG_DESTDIR_SUPPORT= user-destdir
+
RUBY_HAS_ARCHLIB= yes
USE_RUBY_SETUP= yes
-CONFIGURE_ARGS+= --doc-dir=${RUBY_DOCDIR}/RMagick
+.include "../../mk/bsd.prefs.mk"
+
+.if ${_USE_DESTDIR} != "no"
+INSTALL_TARGET= install --prefix=${DESTDIR}
+.endif
+
+CONFIGURE_ARGS+= --doc-dir=${DESTDIR}${RUBY_DOCDIR}/RMagick
USE_TOOLS+= gs
post-install:
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/RMagick
+ ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_EXAMPLESDIR}/RMagick
cd ${WRKSRC}/examples && \
- ${PAX} -rw -pp -pm . ${RUBY_EXAMPLESDIR}/RMagick
+ ${PAX} -rw -pp -pm . ${DESTDIR}${RUBY_EXAMPLESDIR}/RMagick
.include "../../graphics/ImageMagick/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
diff --git a/graphics/ruby-RMagick/distinfo b/graphics/ruby-RMagick/distinfo
index 99541e151de..86006c34ae3 100644
--- a/graphics/ruby-RMagick/distinfo
+++ b/graphics/ruby-RMagick/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2008/01/12 04:35:48 obache Exp $
+$NetBSD: distinfo,v 1.32 2008/01/31 06:18:24 obache Exp $
-SHA1 (RMagick-2.1.0.tar.gz) = e47415009d7bb6d445a68b16b4ee213af9c7357a
-RMD160 (RMagick-2.1.0.tar.gz) = 51f58fe1b101474b830823858e9573dd3bf26121
-Size (RMagick-2.1.0.tar.gz) = 1025433 bytes
+SHA1 (RMagick-2.2.0.tar.gz) = 30b4f15c228f931d7fc0f43a5b262345003fccf8
+RMD160 (RMagick-2.2.0.tar.gz) = ba56b6dd8ecd0b6df664aff3a014c5a76babf30b
+Size (RMagick-2.2.0.tar.gz) = 1027279 bytes