pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ramaze ramaze: fix self-conflict



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b2a6d4768260
branches:  trunk
changeset: 453036:b2a6d4768260
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 21 21:06:19 2021 +0000

description:
ramaze: fix self-conflict

diffstat:

 www/ramaze/ALTERNATIVES |  1 +
 www/ramaze/Makefile     |  6 ++++--
 www/ramaze/PLIST        |  4 ++--
 3 files changed, 7 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 4c2f58d813a6 -r b2a6d4768260 www/ramaze/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ramaze/ALTERNATIVES   Fri May 21 21:06:19 2021 +0000
@@ -0,0 +1,1 @@
+bin/ramaze @PREFIX@/bin/ramaze@RUBY_SUFFIX@
diff -r 4c2f58d813a6 -r b2a6d4768260 www/ramaze/Makefile
--- a/www/ramaze/Makefile       Fri May 21 21:01:43 2021 +0000
+++ b/www/ramaze/Makefile       Fri May 21 21:06:19 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2012/12/17 15:10:57 taca Exp $
+# $NetBSD: Makefile,v 1.12 2021/05/21 21:06:19 nia Exp $
 
 DISTNAME=      ramaze-2012.12.08
+PKGREVISION=   1
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,7 +11,8 @@
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-innate>=2012.12:../../www/ruby-innate
 
-CONFLICTS+=    ruby[1-9][0-9]-ramaze-[0-9]* ramaze-[0-9]*
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} ramaze ramaze${RUBY_SUFFIX}
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4c2f58d813a6 -r b2a6d4768260 www/ramaze/PLIST
--- a/www/ramaze/PLIST  Fri May 21 21:01:43 2021 +0000
+++ b/www/ramaze/PLIST  Fri May 21 21:06:19 2021 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.10 2012/12/17 15:10:57 taca Exp $
-bin/ramaze
+@comment $NetBSD: PLIST,v 1.11 2021/05/21 21:06:19 nia Exp $
+bin/ramaze${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.gems
 ${GEM_LIBDIR}/.gitignore



Home | Main Index | Thread Index | Old Index