aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-12-28 03:51:11 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-12-28 03:51:11 +0800
commita713dc66f0abde9898111a093afeb5e90de8bd94 (patch)
tree17604033cc99caba6d573cb789d72666a3ec7a06 /Mk/bsd.ruby.mk
parentac337a1ade8352d344a813a587403ca8bc7df873 (diff)
downloadfreebsd-ports-gnome-a713dc66f0abde9898111a093afeb5e90de8bd94.tar.gz
freebsd-ports-gnome-a713dc66f0abde9898111a093afeb5e90de8bd94.tar.zst
freebsd-ports-gnome-a713dc66f0abde9898111a093afeb5e90de8bd94.zip
Add ruby25 2.5.0 (copied from ruby24)
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk16
1 files changed, 14 insertions, 2 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index eaa835e8f156..59ef0ca9c3f3 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -180,13 +180,23 @@ RUBY_PORTEPOCH= 1
RUBY_PATCHLEVEL= 0
RUBY24= "" # PLIST_SUB helpers
+. elif ${RUBY_VER} == 2.5
+#
+# Ruby 2.5
+#
+RUBY_RELVERSION= 2.5.0
+RUBY_PORTREVISION= 0
+RUBY_PORTEPOCH= 1
+RUBY_PATCHLEVEL= 0
+RUBY25= "" # PLIST_SUB helpers
+
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
. else
#
# Other versions
#
-IGNORE= Only ruby 2.2, 2.3 and 2.4 are supported
+IGNORE= Only ruby 2.2, 2.3, 2.4 and 2.5 are supported
_INVALID_RUBY_VER= 1
. endif
.endif # defined(RUBY_VER)
@@ -196,6 +206,7 @@ _INVALID_RUBY_VER= 1
RUBY22?= "@comment "
RUBY23?= "@comment "
RUBY24?= "@comment "
+RUBY25?= "@comment "
.if defined(BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E})
.if ${BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E}} == "yes"
@@ -312,7 +323,8 @@ PLIST_SUB+= ${PLIST_RUBY_DIRS:C,DIR="(${LOCALBASE}|${PREFIX})/,DIR=",} \
RUBY_DEFAULT_SUFFIX="${RUBY_DEFAULT_SUFFIX}" \
RUBY22=${RUBY22} \
RUBY23=${RUBY23} \
- RUBY24=${RUBY24}
+ RUBY24=${RUBY24} \
+ RUBY25=${RUBY25}
.if defined(USE_RUBY_RDOC)
MAKE_ENV+= RUBY_RDOC=${RUBY_RDOC}