pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-redmine devel/ruby-redmine: add support for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3673b4f6cb8d
branches:  trunk
changeset: 384653:3673b4f6cb8d
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Sep 03 13:45:38 2022 +0000

description:
devel/ruby-redmine: add support for redmine50

Add support for redmine50 package.

diffstat:

 devel/ruby-redmine/redmine.mk |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r fbef31e72850 -r 3673b4f6cb8d devel/ruby-redmine/redmine.mk
--- a/devel/ruby-redmine/redmine.mk     Sat Sep 03 13:25:08 2022 +0000
+++ b/devel/ruby-redmine/redmine.mk     Sat Sep 03 13:45:38 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: redmine.mk,v 1.4 2021/11/07 17:21:19 khorben Exp $
+# $NetBSD: redmine.mk,v 1.5 2022/09/03 13:45:38 taca Exp $
 
 .if !defined(_RUBY_REDMINE_MK)
 _RUBY_REDMINE_MK=      # defined
@@ -34,12 +34,15 @@
 #      Redmine directory.
 #
 
-.if ${RUBY_VER} == "26"
+.if ${RUBY_VER} == 26
 RM_VERSION_DEFAULT?=   42
 RM_VERSIONS_SUPPORTED?=        42 41
-.elif ${RUBY_VER} == "27"
+.elif ${RUBY_VER} == 27
 RM_VERSION_DEFAULT?=   42
-RM_VERSIONS_SUPPORTED?=        42
+RM_VERSIONS_SUPPORTED?=        42 50
+.elif ${RUBY_VER} >= 30
+RM_VERSION_DEFAULT?=   50
+RM_VERSIONS_SUPPORTED?=        50
 .else
 .error "There is no redmine support Ruby ${RUBY_VERSION}"
 .endif
@@ -63,7 +66,7 @@
 RM_VER=                ${RM_MAJOR}${RM_MINOR}
 .endif
 
-.if "${RM_VER}" == "41" || "${RM_VER}" == "42"
+.if "${RM_VER}" == 41 || "${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



Home | Main Index | Thread Index | Old Index