mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Mk/bsd.ruby.mk: Remove RUBY_RDOC
After lang/ruby26 is removed the value of it is same with all supported ruby versions. So ports need not use it to specify full patch of rdoc executable. PR: 263386 Approved by: maintainer timeout
This commit is contained in:
parent
794781e423
commit
e4a56e48d4
3 changed files with 2 additions and 17 deletions
|
@ -71,8 +71,6 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.org
|
||||||
#
|
#
|
||||||
# RUBY_MODNAME - Set to the module name (default: ${PORTNAME}).
|
# RUBY_MODNAME - Set to the module name (default: ${PORTNAME}).
|
||||||
#
|
#
|
||||||
# RUBY_RDOC - Full path of rdoc executable.
|
|
||||||
#
|
|
||||||
# RUBY_BASE_PORT - Port path of base ruby without PORTSDIR, without
|
# RUBY_BASE_PORT - Port path of base ruby without PORTSDIR, without
|
||||||
# suffix except version.
|
# suffix except version.
|
||||||
# RUBY_PORT - Port path of ruby without PORTSDIR.
|
# RUBY_PORT - Port path of ruby without PORTSDIR.
|
||||||
|
@ -242,9 +240,6 @@ RUBY_CONFIGURE_ARGS+= --program-suffix="${RUBY_SUFFIX}"
|
||||||
|
|
||||||
RUBY_MODNAME?= ${PORTNAME}
|
RUBY_MODNAME?= ${PORTNAME}
|
||||||
|
|
||||||
# Commands
|
|
||||||
RUBY_RDOC?= ${LOCALBASE}/bin/rdoc
|
|
||||||
|
|
||||||
# Ports
|
# Ports
|
||||||
RUBY_BASE_PORT?= lang/ruby${RUBY_VER:S/.//}
|
RUBY_BASE_PORT?= lang/ruby${RUBY_VER:S/.//}
|
||||||
RUBY_PORT?= ${RUBY_BASE_PORT}
|
RUBY_PORT?= ${RUBY_BASE_PORT}
|
||||||
|
|
|
@ -33,7 +33,6 @@ SHEBANG_FILES= examples/basic.rb examples/cats.rb examples/cursor.rb \
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-db-include=${BDB_INCLUDE_DIR} \
|
CONFIGURE_ARGS= --with-db-include=${BDB_INCLUDE_DIR} \
|
||||||
--with-db-lib=${BDB_LIB_DIR}
|
--with-db-lib=${BDB_LIB_DIR}
|
||||||
MAKE_ENV= RUBY_RDOC=${LOCALBASE}/bin/rdoc
|
|
||||||
ALL_TARGET= all rdoc
|
ALL_TARGET= all rdoc
|
||||||
INSTALL_TARGET= site-install
|
INSTALL_TARGET= site-install
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,6 @@
|
||||||
--- extconf.rb.orig 2011-04-06 19:35:39 UTC
|
--- extconf.rb.orig 2011-04-06 19:35:39 UTC
|
||||||
+++ extconf.rb
|
+++ extconf.rb
|
||||||
@@ -50,7 +50,7 @@
|
@@ -67,7 +67,7 @@ test: $(DLLIB)
|
||||||
rdoc: docs/doc/index.html
|
|
||||||
|
|
||||||
docs/doc/index.html: $(RDOC)
|
|
||||||
-\t@-(cd docs; rdoc .)
|
|
||||||
+\t@-(cd docs; ${RUBY_RDOC} .)
|
|
||||||
|
|
||||||
ri:
|
|
||||||
\t@-(rdoc -r docs/*rb)
|
|
||||||
@@ -67,7 +67,7 @@
|
|
||||||
Dir.foreach('tests') do |x|
|
Dir.foreach('tests') do |x|
|
||||||
next if /^\./ =~ x || /(_\.rb|~)$/ =~ x
|
next if /^\./ =~ x || /(_\.rb|~)$/ =~ x
|
||||||
next if FileTest.directory?(x)
|
next if FileTest.directory?(x)
|
||||||
|
@ -18,7 +9,7 @@
|
||||||
end
|
end
|
||||||
ensure
|
ensure
|
||||||
make.close
|
make.close
|
||||||
@@ -76,7 +76,7 @@
|
@@ -76,7 +76,7 @@ end
|
||||||
subdirs.each do |subdir|
|
subdirs.each do |subdir|
|
||||||
STDERR.puts("#{$0}: Entering directory `#{subdir}'")
|
STDERR.puts("#{$0}: Entering directory `#{subdir}'")
|
||||||
Dir.chdir(subdir)
|
Dir.chdir(subdir)
|
||||||
|
|
Loading…
Add table
Reference in a new issue