summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-03-07 17:00:44 +0000
committertaca <taca@pkgsrc.org>2013-03-07 17:00:44 +0000
commit86dc30a8df638c8404165a92224d7a84d66e9e8b (patch)
treee7776de6383d0886d4ce682124951041ba197232
parent49fcafd659b5ec3378b70d42b61660b4e5c60e69 (diff)
downloadpkgsrc-86dc30a8df638c8404165a92224d7a84d66e9e8b.tar.gz
* Fix build problem with newer rake.
* Use RDoc newer than included in ruby18-base. * misc clean up. Bump PKGREVISION.
-rw-r--r--devel/ruby-eet/Makefile10
-rw-r--r--devel/ruby-eet/distinfo3
-rw-r--r--devel/ruby-eet/patches/patch-Rakefile15
3 files changed, 22 insertions, 6 deletions
diff --git a/devel/ruby-eet/Makefile b/devel/ruby-eet/Makefile
index 4ed79c1f1ff..3ffed7d82a3 100644
--- a/devel/ruby-eet/Makefile
+++ b/devel/ruby-eet/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2013/02/06 23:22:10 jperkin Exp $
+# $NetBSD: Makefile,v 1.13 2013/03/07 17:00:44 taca Exp $
DISTNAME= ruby-eet-0.1.4
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= devel
MASTER_SITES= ftp://code-monkey.de/pub/ruby-eet/
@@ -13,16 +13,16 @@ LICENSE= mit
RUBY_VERSION_SUPPORTED= 18
+RUBY_RDOC_REQD= 2.0.0
USE_RAKE= YES
USE_TOOLS+= pkg-config
-.include "../../devel/eet/buildlink3.mk"
-.include "../../lang/ruby/modules.mk"
-
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${RAKE}
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${RAKE} install
+.include "../../lang/ruby/modules.mk"
+.include "../../devel/eet/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-eet/distinfo b/devel/ruby-eet/distinfo
index 1a8335dfc80..e1f655c2369 100644
--- a/devel/ruby-eet/distinfo
+++ b/devel/ruby-eet/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2011/08/12 16:29:04 taca Exp $
+$NetBSD: distinfo,v 1.3 2013/03/07 17:00:44 taca Exp $
SHA1 (ruby-eet-0.1.4.tar.gz) = 16e1824179b019f48a554388aadf5168521cad51
RMD160 (ruby-eet-0.1.4.tar.gz) = 10521754510e8f8bd00372031d663c0ebdae41c2
Size (ruby-eet-0.1.4.tar.gz) = 19972 bytes
+SHA1 (patch-Rakefile) = 5991edede98deb936702f775ec38b9e3a7ca68eb
SHA1 (patch-rake_extensiontask.rb) = 89ab3da8bcbf2e1ec5a8ca4f9047ec19698f4392
diff --git a/devel/ruby-eet/patches/patch-Rakefile b/devel/ruby-eet/patches/patch-Rakefile
new file mode 100644
index 00000000000..1be32742e16
--- /dev/null
+++ b/devel/ruby-eet/patches/patch-Rakefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Rakefile,v 1.1 2013/03/07 17:00:44 taca Exp $
+
+* Require modern task rule from rdoc.
+
+--- Rakefile.orig 2007-03-23 11:32:09.000000000 +0000
++++ Rakefile
+@@ -1,7 +1,7 @@
+ require "rbconfig"
+ require "rake/clean"
+ require "rake/testtask"
+-require "rake/rdoctask"
++require "rdoc/task"
+ require "rake/packagetask"
+ require "rake/contrib/compositepublisher"
+ require "rake/contrib/sshpublisher"