summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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