pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-redmine



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Sep  3 13:45:38 UTC 2022

Modified Files:
        pkgsrc/devel/ruby-redmine: redmine.mk

Log Message:
devel/ruby-redmine: add support for redmine50

Add support for redmine50 package.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/ruby-redmine/redmine.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ruby-redmine/redmine.mk
diff -u pkgsrc/devel/ruby-redmine/redmine.mk:1.4 pkgsrc/devel/ruby-redmine/redmine.mk:1.5
--- pkgsrc/devel/ruby-redmine/redmine.mk:1.4    Sun Nov  7 17:21:19 2021
+++ pkgsrc/devel/ruby-redmine/redmine.mk        Sat Sep  3 13:45:38 2022
@@ -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 @@ _RUBY_REDMINE_MK=   # defined
 #      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_MINOR=     ${RM_VERSION:C/([0-9]+)\.([0-9
 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