summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2009-06-12 11:48:40 +0000
committertaca <taca@pkgsrc.org>2009-06-12 11:48:40 +0000
commit5329f9c781d8b5976bb85deb7ae8fb597b8603a3 (patch)
treed88eabf91bff757cac43343e6b678729ea20be53 /devel
parentbf8c613246cce6005c7c21471d666d07397828a3 (diff)
downloadpkgsrc-5329f9c781d8b5976bb85deb7ae8fb597b8603a3.tar.gz
* Fix build problem with new Rubygems by removing an obsolete method call.
* Add LICENSE. No PKGREVISION bump since there is no change with built package.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-mocha/Makefile3
-rw-r--r--devel/ruby-mocha/distinfo3
-rw-r--r--devel/ruby-mocha/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/devel/ruby-mocha/Makefile b/devel/ruby-mocha/Makefile
index ef4a3058d51..26cda51a31c 100644
--- a/devel/ruby-mocha/Makefile
+++ b/devel/ruby-mocha/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/09/15 08:49:50 taca Exp $
+# $NetBSD: Makefile,v 1.3 2009/06/12 11:48:40 taca Exp $
DISTNAME= mocha-0.9.1
PKGNAME= ${RUBYGEM_PKGPREFIX}-${DISTNAME}
@@ -7,6 +7,7 @@ CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mocha.rubyforge.org/
COMMENT= Ruby library for mocking and stubbing
+LICENSE= mit
.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-mocha/distinfo b/devel/ruby-mocha/distinfo
index 1f985021f1f..92e612758f2 100644
--- a/devel/ruby-mocha/distinfo
+++ b/devel/ruby-mocha/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2008/09/15 08:49:50 taca Exp $
+$NetBSD: distinfo,v 1.3 2009/06/12 11:48:40 taca Exp $
SHA1 (mocha-0.9.1.gem) = cfe81c1e94493269bc2b3b8909612933eefaa3a2
RMD160 (mocha-0.9.1.gem) = 2ebfb22dd4423ca9b6da940f5c1752a704a69c30
Size (mocha-0.9.1.gem) = 54274 bytes
+SHA1 (patch-aa) = 39e49cc17b70dc675d732c54bce15634d5d487ea
diff --git a/devel/ruby-mocha/patches/patch-aa b/devel/ruby-mocha/patches/patch-aa
new file mode 100644
index 00000000000..cd6ac583c1f
--- /dev/null
+++ b/devel/ruby-mocha/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2009/06/12 11:48:40 taca Exp $
+
+--- Rakefile.orig 2009-06-12 16:11:21.000000000 +0900
++++ Rakefile
+@@ -129,8 +129,6 @@ task 'examples' do
+ end
+ end
+
+-Gem::manage_gems
+-
+ specification = Gem::Specification.new do |s|
+ s.name = "mocha"
+ s.summary = "Mocking and stubbing library"