summaryrefslogtreecommitdiff
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-08-07 13:21:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-08-07 13:21:05 +0000
commit7dc653be30f57ad4081c964f49ef9a0d251026b6 (patch)
tree2628c48ee3da574e3724d525866d9b58a97bd6df /Mk/bsd.ruby.mk
parentAdd a ircd-ru - modern IRC server with translation (diff)
Oops, I forgot to commit this one.
lang/ruby -> lang/ruby16 lang/ruby-devel -> lang/ruby18
Notes
Notes: svn path=/head/; revision=86502
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index f8448905648d..9c8c73171d25 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -72,6 +72,7 @@ Ruby_Include_MAINTAINER= knu@FreeBSD.org
# RUBY_RD2 - Full path of rd2 executable.
# 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.
# RUBY_SHIM18_PORT - Port path of ruby16-shim-ruby18 without PORTSDIR.
# RUBY_AMSTD_PORT - Port path of ruby-amstd without PORTSDIR.
@@ -129,7 +130,6 @@ RUBY?= ${LOCALBASE}/bin/${RUBY_NAME}
.if defined(RUBY_VER) && ${RUBY_VER} == 1.8
RUBY_VERSION?= 1.8.0
-RUBY_PORT?= lang/ruby${RUBY_R}-devel
#RUBY_DISTVERSION?= ${RUBY_VERSION}
#RUBY_PATCHFILES?= ruby-${RUBY_DISTVERSION}-yyyy.mm.dd.diff.bz2
#RUBY_PORTVERSION?= ${RUBY_VERSION}
@@ -203,7 +203,8 @@ RUBY_RD2?= ${LOCALBASE}/bin/rd2
RUBY_RDOC?= ${LOCALBASE}/bin/rdoc
# Ports
-RUBY_PORT?= lang/ruby${RUBY_R}
+RUBY_BASE_PORT?= lang/ruby${RUBY_VER:S/.//}
+RUBY_PORT?= ${RUBY_BASE_PORT}${RUBY_R}
RUBY_SHIM18_PORT?= lang/ruby16-shim-ruby18
RUBY_AMSTD_PORT?= devel/ruby-amstd
RUBY_RDTOOL_PORT?= textproc/ruby-rdtool