pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ruby-RMagick Update RMagick to 2.2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fcbd53dd070
branches:  trunk
changeset: 538174:0fcbd53dd070
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Jan 31 06:18:24 2008 +0000

description:
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:

 graphics/ruby-RMagick/Makefile |  20 ++++++++++++++------
 graphics/ruby-RMagick/distinfo |   8 ++++----
 2 files changed, 18 insertions(+), 10 deletions(-)

diffs (56 lines):

diff -r 195c8ee07c22 -r 0fcbd53dd070 graphics/ruby-RMagick/Makefile
--- a/graphics/ruby-RMagick/Makefile    Thu Jan 31 01:04:26 2008 +0000
+++ b/graphics/ruby-RMagick/Makefile    Thu Jan 31 06:18:24 2008 +0000
@@ -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@localhost
 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 -r 195c8ee07c22 -r 0fcbd53dd070 graphics/ruby-RMagick/distinfo
--- a/graphics/ruby-RMagick/distinfo    Thu Jan 31 01:04:26 2008 +0000
+++ b/graphics/ruby-RMagick/distinfo    Thu Jan 31 06:18:24 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index