pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/ruby-bundler1 misc/ruby-bundler1: fix runtime pro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/127f41fa642b
branches: trunk
changeset: 401489:127f41fa642b
user: taca <taca%pkgsrc.org@localhost>
date: Wed Sep 18 14:27:45 2019 +0000
description:
misc/ruby-bundler1: fix runtime problem
Fix runtime problem with changing better command names.
Bump PKGREVISION.
diffstat:
misc/ruby-bundler1/ALTERNATIVES | 4 ++--
misc/ruby-bundler1/Makefile | 14 ++++++--------
misc/ruby-bundler1/PLIST | 10 +++++-----
3 files changed, 13 insertions(+), 15 deletions(-)
diffs (63 lines):
diff -r 4532ee70f4d0 -r 127f41fa642b misc/ruby-bundler1/ALTERNATIVES
--- a/misc/ruby-bundler1/ALTERNATIVES Wed Sep 18 14:27:08 2019 +0000
+++ b/misc/ruby-bundler1/ALTERNATIVES Wed Sep 18 14:27:45 2019 +0000
@@ -1,2 +1,2 @@
-bin/bundle @PREFIX@/bin/bundle1@RUBY_SUFFIX@
-bin/bundler @PREFIX@/bin/bundler1@RUBY_SUFFIX@
+bin/bundle @PREFIX@/bin/bundle1-@RUBY_SUFFIX@
+bin/bundler @PREFIX@/bin/bundler1-@RUBY_SUFFIX@
diff -r 4532ee70f4d0 -r 127f41fa642b misc/ruby-bundler1/Makefile
--- a/misc/ruby-bundler1/Makefile Wed Sep 18 14:27:08 2019 +0000
+++ b/misc/ruby-bundler1/Makefile Wed Sep 18 14:27:45 2019 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2019/03/05 07:46:47 taca Exp $
+# $NetBSD: Makefile,v 1.2 2019/09/18 14:27:45 taca Exp $
DISTNAME= bundler-1.17.3
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/bundler/bundler1/}
+PKGREVISION= 1
CATEGORIES= misc
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -12,14 +13,11 @@
RUBYGEM_OPTIONS+= --format-executable
COMMANDS= bundle bundler
-.for f in ${COMMANDS}
-OVERRIDE_GEMSPEC+= :executables ${f}=${f}1 :files exe/${f}=exe/${f}1
-.endfor
-
-pre-configure:
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
for f in ${COMMANDS}; do \
- ${TEST} -f ${WRKSRC}/exe/$${f}1 || \
- ${MV} ${WRKSRC}/exe/$${f} ${WRKSRC}/exe/$${f}1; \
+ ${TEST} -f $${f}1-${RUBY_SUFFIX} || \
+ ${MV} $${f}${RUBY_SUFFIX} $${f}1-${RUBY_SUFFIX}; \
done
.include "../../lang/ruby/gem.mk"
diff -r 4532ee70f4d0 -r 127f41fa642b misc/ruby-bundler1/PLIST
--- a/misc/ruby-bundler1/PLIST Wed Sep 18 14:27:08 2019 +0000
+++ b/misc/ruby-bundler1/PLIST Wed Sep 18 14:27:45 2019 +0000
@@ -1,14 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1 2019/03/05 07:46:47 taca Exp $
-bin/bundle1${RUBY_SUFFIX}
-bin/bundler1${RUBY_SUFFIX}
+@comment $NetBSD: PLIST,v 1.2 2019/09/18 14:27:45 taca Exp $
+bin/bundle1-${RUBY_SUFFIX}
+bin/bundler1-${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG.md
${GEM_LIBDIR}/LICENSE.md
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/bundler.gemspec
-${GEM_LIBDIR}/exe/bundle1
+${GEM_LIBDIR}/exe/bundle
${GEM_LIBDIR}/exe/bundle_ruby
-${GEM_LIBDIR}/exe/bundler1
+${GEM_LIBDIR}/exe/bundler
${GEM_LIBDIR}/lib/bundler.rb
${GEM_LIBDIR}/lib/bundler/build_metadata.rb
${GEM_LIBDIR}/lib/bundler/capistrano.rb
Home |
Main Index |
Thread Index |
Old Index