1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00: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:
Yasuhiro Kimura 2022-04-18 15:52:16 +09:00
parent 794781e423
commit e4a56e48d4
3 changed files with 2 additions and 17 deletions

View File

@ -71,8 +71,6 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.org
#
# 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
# suffix except version.
# RUBY_PORT - Port path of ruby without PORTSDIR.
@ -242,9 +240,6 @@ RUBY_CONFIGURE_ARGS+= --program-suffix="${RUBY_SUFFIX}"
RUBY_MODNAME?= ${PORTNAME}
# Commands
RUBY_RDOC?= ${LOCALBASE}/bin/rdoc
# Ports
RUBY_BASE_PORT?= lang/ruby${RUBY_VER:S/.//}
RUBY_PORT?= ${RUBY_BASE_PORT}

View File

@ -33,7 +33,6 @@ SHEBANG_FILES= examples/basic.rb examples/cats.rb examples/cursor.rb \
CONFIGURE_ARGS= --with-db-include=${BDB_INCLUDE_DIR} \
--with-db-lib=${BDB_LIB_DIR}
MAKE_ENV= RUBY_RDOC=${LOCALBASE}/bin/rdoc
ALL_TARGET= all rdoc
INSTALL_TARGET= site-install

View File

@ -1,15 +1,6 @@
--- extconf.rb.orig 2011-04-06 19:35:39 UTC
+++ extconf.rb
@@ -50,7 +50,7 @@
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 @@
@@ -67,7 +67,7 @@ test: $(DLLIB)
Dir.foreach('tests') do |x|
next if /^\./ =~ x || /(_\.rb|~)$/ =~ x
next if FileTest.directory?(x)
@ -18,7 +9,7 @@
end
ensure
make.close
@@ -76,7 +76,7 @@
@@ -76,7 +76,7 @@ end
subdirs.each do |subdir|
STDERR.puts("#{$0}: Entering directory `#{subdir}'")
Dir.chdir(subdir)