Thu Mar 13 18:29:20 2008 UTC ()
Most gems need at least rubygems-0.9.4 to work properly.


(jlam)
diff -r1.14 -r1.15 pkgsrc/misc/rubygems/rubygem.mk

cvs diff -r1.14 -r1.15 pkgsrc/misc/rubygems/Attic/rubygem.mk (expand / switch to unified diff)

--- pkgsrc/misc/rubygems/Attic/rubygem.mk 2008/03/13 15:58:27 1.14
+++ pkgsrc/misc/rubygems/Attic/rubygem.mk 2008/03/13 18:29:20 1.15
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: rubygem.mk,v 1.14 2008/03/13 15:58:27 jlam Exp $ 1# $NetBSD: rubygem.mk,v 1.15 2008/03/13 18:29:20 jlam Exp $
2# 2#
3# This Makefile fragment is intended to be included by packages that build 3# This Makefile fragment is intended to be included by packages that build
4# and install Ruby gems. 4# and install Ruby gems.
5# 5#
6# Package-settable variables: 6# Package-settable variables:
7# 7#
8# GEM_BUILD 8# GEM_BUILD
9# The method used to build the local gem. 9# The method used to build the local gem.
10# 10#
11# Possible: gemspec, rake 11# Possible: gemspec, rake
12# Default: rake 12# Default: rake
13# 13#
14# GEM_NAME 14# GEM_NAME
@@ -49,27 +49,27 @@ PKG_DESTDIR_SUPPORT?= user-destdir @@ -49,27 +49,27 @@ PKG_DESTDIR_SUPPORT?= user-destdir
49 49
50# Default to using rake to build the local gem from the unpacked files. 50# Default to using rake to build the local gem from the unpacked files.
51GEM_BUILD?= rake 51GEM_BUILD?= rake
52 52
53# Build and run-time dependencies. 53# Build and run-time dependencies.
54# 54#
55# We need rubygems>=1.0.1nb1 to actually build the package, but the 55# We need rubygems>=1.0.1nb1 to actually build the package, but the
56# resulting installed gem can run with older versions of rubygems. 56# resulting installed gem can run with older versions of rubygems.
57# 57#
58# If we're using rake to build the local gem, then include it as a 58# If we're using rake to build the local gem, then include it as a
59# build tool. 59# build tool.
60# 60#
61BUILD_DEPENDS+= rubygems>=1.0.1nb1:../../misc/rubygems 61BUILD_DEPENDS+= rubygems>=1.0.1nb1:../../misc/rubygems
62DEPENDS+= rubygems>=0.8.7:../../misc/rubygems 62DEPENDS+= rubygems>=0.9.4:../../misc/rubygems
63.if ${GEM_BUILD} == "rake" 63.if ${GEM_BUILD} == "rake"
64BUILD_DEPENDS+= rake-[0-9]*:../../devel/rake 64BUILD_DEPENDS+= rake-[0-9]*:../../devel/rake
65.endif 65.endif
66 66
67# GEMFILE holds the filename of the Gem to install 67# GEMFILE holds the filename of the Gem to install
68.if defined(DISTFILES) 68.if defined(DISTFILES)
69GEMFILE?= ${DISTFILES} 69GEMFILE?= ${DISTFILES}
70.else 70.else
71GEMFILE?= ${DISTNAME}${EXTRACT_SUFX} 71GEMFILE?= ${DISTNAME}${EXTRACT_SUFX}
72.endif 72.endif
73 73
74CATEGORIES+= ruby 74CATEGORIES+= ruby
75MASTER_SITES?= http://gems.rubyforge.org/gems/ 75MASTER_SITES?= http://gems.rubyforge.org/gems/