diff options
Diffstat (limited to 'devel/ruby-redmine/redmine.mk')
-rw-r--r-- | devel/ruby-redmine/redmine.mk | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/devel/ruby-redmine/redmine.mk b/devel/ruby-redmine/redmine.mk index d3d355ad5e3..b1130128916 100644 --- a/devel/ruby-redmine/redmine.mk +++ b/devel/ruby-redmine/redmine.mk @@ -1,4 +1,4 @@ -# $NetBSD: redmine.mk,v 1.6 2022/09/03 16:07:34 taca Exp $ +# $NetBSD: redmine.mk,v 1.7 2022/10/09 15:36:48 taca Exp $ .if !defined(_RUBY_REDMINE_MK) _RUBY_REDMINE_MK= # defined @@ -11,7 +11,7 @@ _RUBY_REDMINE_MK= # defined # RM_VERSION_DEFAULT # Select default Redmine version. # -# Possible values: 41 42 50 +# Possible values: 42 50 # Default: 42 or 50 (Ruby 3.0 and later) # # @@ -19,7 +19,7 @@ _RUBY_REDMINE_MK= # defined # # RM_VERSIONS_SUPPORTED # Supported Redmine version. -# Possible values: 41 42 50 +# Possible values: 42 50 # Default: 42 # # @@ -27,17 +27,14 @@ _RUBY_REDMINE_MK= # defined # # RM_VER # Redmine version. -# Possible values: 41 42 50 +# Possible values: 42 50 # Default: 42 # # RM_DIR # Redmine directory. # -.if ${RUBY_VER} == 26 -RM_VERSION_DEFAULT?= 42 -RM_VERSIONS_SUPPORTED?= 42 41 -.elif ${RUBY_VER} == 27 +.if ${RUBY_VER} == 27 RM_VERSION_DEFAULT?= 42 RM_VERSIONS_SUPPORTED?= 42 50 .elif ${RUBY_VER} >= 30 @@ -66,7 +63,7 @@ RM_MINOR= ${RM_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\2/} RM_VER= ${RM_MAJOR}${RM_MINOR} .endif -.if "${RM_VER}" == 41 || "${RM_VER}" == 42 || "${RM_VER}" == 50 +.if "${RM_VER}" == 42 || "${RM_VER}" == 50 REDMINE_DEPENDS= ${RUBY_PKGPREFIX}-redmine${RM_VER}-[0-9]*:../../devel/ruby-redmine${RM_VER} RM_PLUGINDIR= ${RM_DIR}/plugins RM_THEMEDIR= ${RM_DIR}/public/themes |