pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/meta-pkgs/ruby-redmine-plugins meta-pkgs/ruby-redmine-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ec48d66597f
branches:  trunk
changeset: 447909:4ec48d66597f
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Feb 28 16:45:17 2021 +0000

description:
meta-pkgs/ruby-redmine-plugins: switch to use redmine.mk

Switch to use devel/ruby-redmine/redmine.mk.

No PKGREVISION bump since PKGNAME has changed.

diffstat:

 meta-pkgs/ruby-redmine-plugins/MESSAGE.common |   5 +++--
 meta-pkgs/ruby-redmine-plugins/Makefile       |  18 ++++++++++++------
 2 files changed, 15 insertions(+), 8 deletions(-)

diffs (56 lines):

diff -r 0cb1de178d62 -r 4ec48d66597f meta-pkgs/ruby-redmine-plugins/MESSAGE.common
--- a/meta-pkgs/ruby-redmine-plugins/MESSAGE.common     Sun Feb 28 16:34:55 2021 +0000
+++ b/meta-pkgs/ruby-redmine-plugins/MESSAGE.common     Sun Feb 28 16:45:17 2021 +0000
@@ -1,10 +1,11 @@
 ===========================================================================
-$NetBSD: MESSAGE.common,v 1.1 2015/07/06 04:15:33 rodent Exp $
+$NetBSD: MESSAGE.common,v 1.2 2021/02/28 16:45:17 taca Exp $
 
 0) Stop Redmine (if started). Like a good SysOp, you have scheduled
    downtime with your team already;
 
 1) Migrate the plugin(s):
-     # redmine_migrate_plugins${RUBY_SUFFIX}.sh
+
+     # redmine${RM_SVER}_migrate_plugins${RUBY_SUFFIX}.sh
 
 2) Start Redmine;
diff -r 0cb1de178d62 -r 4ec48d66597f meta-pkgs/ruby-redmine-plugins/Makefile
--- a/meta-pkgs/ruby-redmine-plugins/Makefile   Sun Feb 28 16:34:55 2021 +0000
+++ b/meta-pkgs/ruby-redmine-plugins/Makefile   Sun Feb 28 16:45:17 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2020/05/06 15:02:54 taca Exp $
+# $NetBSD: Makefile,v 1.10 2021/02/28 16:45:17 taca Exp $
 
 DISTNAME=      redmine-plugins-1.3.0
-PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
+PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/redmine/redmine${RM_VER}/}
 CATEGORIES=    devel meta-pkgs
 MASTER_SITES=  # blank
 DISTFILES=     # blank
@@ -10,15 +10,21 @@
 HOMEPAGE=      https://www.redmine.org/
 COMMENT=       Redmine plugins meta package
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-redmine_code_review-[0-9]*:../../devel/ruby-redmine_code_review
-DEPENDS+=      ${RUBY_PKGPREFIX}-redmine_lightbox2-[0-9]*:../../devel/ruby-redmine_lightbox2
-DEPENDS+=      ${RUBY_PKGPREFIX}-redmine_theme_changer-[0-9]*:../../devel/ruby-redmine_theme_changer
-DEPENDS+=      ${RUBY_PKGPREFIX}-redmine_work_time-[0-9]*:../../devel/ruby-redmine_work_time
+DEPENDS+=      ${RUBY_PKGPREFIX}-redmine${RM_VER}-code_review-[0-9]*:../../devel/ruby-redmine_code_review
+DEPENDS+=      ${RUBY_PKGPREFIX}-redmine${RM_VER}-lightbox2-[0-9]*:../../devel/ruby-redmine_lightbox2
+DEPENDS+=      ${RUBY_PKGPREFIX}-redmine${RM_VER}-theme_changer-[0-9]*:../../devel/ruby-redmine_theme_changer
+DEPENDS+=      ${RUBY_PKGPREFIX}-redmine${RM_VER}-work_time-[0-9]*:../../devel/ruby-redmine_work_time
 
 META_PACKAGE=          yes
 MESSAGE_SRC+=          ${.CURDIR}/MESSAGE.common ${.CURDIR}/MESSAGE
 
 RUBY_VERSIONS_ACCEPTED=        25 26
 
+MESSAGE_SUBST+=        RM_SVER=${RM_SVER}
+
+.include "../../devel/ruby-redmine/redmine.mk"
+.if ${RM_VER} != "40"
+RM_SVER=${RM_VER}
+.endif
 .include "../../lang/ruby/rubyversion.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index