aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-io-reactor
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-02-27 11:44:39 +0800
committerswills <swills@FreeBSD.org>2013-02-27 11:44:39 +0800
commit928dc53f56c4d1d98791616a96adfd3ba54d50ff (patch)
tree4bd680745a38b0074aa5107d305156499516f7b1 /devel/ruby-io-reactor
parent288ece3572f19d1c5e4f817af0b4596b2867e76a (diff)
downloadfreebsd-ports-gnome-928dc53f56c4d1d98791616a96adfd3ba54d50ff.tar.gz
freebsd-ports-gnome-928dc53f56c4d1d98791616a96adfd3ba54d50ff.tar.zst
freebsd-ports-gnome-928dc53f56c4d1d98791616a96adfd3ba54d50ff.zip
- Fix build
Diffstat (limited to 'devel/ruby-io-reactor')
-rw-r--r--devel/ruby-io-reactor/Makefile8
-rw-r--r--devel/ruby-io-reactor/files/patch-build36
2 files changed, 39 insertions, 5 deletions
diff --git a/devel/ruby-io-reactor/Makefile b/devel/ruby-io-reactor/Makefile
index d22207c8b739..b896739057f8 100644
--- a/devel/ruby-io-reactor/Makefile
+++ b/devel/ruby-io-reactor/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Ruby/io-reactor
-# Date created: 26 December 2004
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
+# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
-#
PORTNAME= io-reactor
PORTVERSION= 1.0.4
@@ -24,6 +20,8 @@ NO_BUILD= yes
DOCS= ChangeLog README
EXAMPLES= examples/*
+BUILD_DEPENDS= rubygem-rdoc>=0:${PORTSDIR}/devel/rubygem-rdoc
+
do-install:
cd ${WRKSRC}; ${RUBY} ${RAKE_BIN} install
.if !defined(NOPORTDOCS)
diff --git a/devel/ruby-io-reactor/files/patch-build b/devel/ruby-io-reactor/files/patch-build
new file mode 100644
index 000000000000..691d3c84274e
--- /dev/null
+++ b/devel/ruby-io-reactor/files/patch-build
@@ -0,0 +1,36 @@
+--- Rakefile.orig 2008-08-19 20:14:31.000000000 +0000
++++ Rakefile 2013-02-27 03:35:18.000000000 +0000
+@@ -25,9 +25,9 @@
+ require 'rbconfig'
+ require 'rubygems'
+ require 'rake'
+-require 'rake/rdoctask'
++require 'rdoc/task'
+ require 'rake/testtask'
+-require 'rake/packagetask'
++require 'rubygems/package_task'
+ require 'rake/clean'
+
+ $dryrun = false
+--- ./rake/packaging.rb.orig 2013-02-27 03:38:49.000000000 +0000
++++ ./rake/packaging.rb 2013-02-27 03:39:06.000000000 +0000
+@@ -5,7 +5,7 @@
+
+ require 'rbconfig'
+ require 'rake/packagetask'
+-require 'rake/gempackagetask'
++require 'rubygems/package_task'
+
+ include Config
+
+--- rake/rdoc.rb.orig 2013-02-27 03:40:32.000000000 +0000
++++ rake/rdoc.rb 2013-02-27 03:40:53.000000000 +0000
+@@ -3,7 +3,7 @@
+ # $Id: rdoc.rb 35 2008-08-19 01:10:27Z deveiant $
+ #
+
+-require 'rake/rdoctask'
++require 'rdoc/task'
+ $have_darkfish = false
+
+ begin