pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/ruby-color-japanese ruby-color-japanese: fix ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/249cea4aa57c
branches:  trunk
changeset: 453017:249cea4aa57c
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 21 12:40:22 2021 +0000

description:
ruby-color-japanese: fix self-conflict

diffstat:

 graphics/ruby-color-japanese/ALTERNATIVES |  1 +
 graphics/ruby-color-japanese/Makefile     |  5 +++--
 graphics/ruby-color-japanese/PLIST        |  4 ++--
 3 files changed, 6 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 715aaafdfbf4 -r 249cea4aa57c graphics/ruby-color-japanese/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ruby-color-japanese/ALTERNATIVES Fri May 21 12:40:22 2021 +0000
@@ -0,0 +1,1 @@
+bin/jcolorc @PREFIX@/bin/jcolorc@RUBY_SUFFIX@
diff -r 715aaafdfbf4 -r 249cea4aa57c graphics/ruby-color-japanese/Makefile
--- a/graphics/ruby-color-japanese/Makefile     Fri May 21 12:20:24 2021 +0000
+++ b/graphics/ruby-color-japanese/Makefile     Fri May 21 12:40:22 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2017/09/04 18:00:55 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2021/05/21 12:40:22 nia Exp $
 
 DISTNAME=      color-japanese-1.0.0
 CATEGORIES=    graphics
@@ -11,7 +11,8 @@
 DEPENDS+=      ${RUBY_PKGPREFIX}-color-tools>0:../../graphics/ruby-color-tools
 DEPENDS+=      ${RUBY_PKGPREFIX}-hoe>=1.2.0:../../devel/hoe
 
-CONFLICTS+=    ruby[1-9][0-9]-color-japanese-[0-9]*
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} jcolorc jcolorc${RUBY_SUFFIX}
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 715aaafdfbf4 -r 249cea4aa57c graphics/ruby-color-japanese/PLIST
--- a/graphics/ruby-color-japanese/PLIST        Fri May 21 12:20:24 2021 +0000
+++ b/graphics/ruby-color-japanese/PLIST        Fri May 21 12:40:22 2021 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/12 01:43:31 taca Exp $
-bin/jcolorc
+@comment $NetBSD: PLIST,v 1.2 2021/05/21 12:40:22 nia Exp $
+bin/jcolorc${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CHANGELOG.txt
 ${GEM_LIBDIR}/History.txt



Home | Main Index | Thread Index | Old Index