pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-tilt1 Avoid conflict with ruby-tilt.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10eba6e9ed3a
branches:  trunk
changeset: 359831:10eba6e9ed3a
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 19 16:02:43 2017 +0000

description:
Avoid conflict with ruby-tilt.

Bump PKGREVISION.

diffstat:

 textproc/ruby-tilt1/ALTERNATIVES |  2 +-
 textproc/ruby-tilt1/Makefile     |  9 +++++++--
 textproc/ruby-tilt1/PLIST        |  6 +++---
 3 files changed, 11 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 2a1fdeee1378 -r 10eba6e9ed3a textproc/ruby-tilt1/ALTERNATIVES
--- a/textproc/ruby-tilt1/ALTERNATIVES  Sun Mar 19 15:30:40 2017 +0000
+++ b/textproc/ruby-tilt1/ALTERNATIVES  Sun Mar 19 16:02:43 2017 +0000
@@ -1,1 +1,1 @@
-bin/tilt @PREFIX@/bin/tilt@RUBY_SUFFIX@
+bin/tilt1 @PREFIX@/bin/tilt1@RUBY_SUFFIX@
diff -r 2a1fdeee1378 -r 10eba6e9ed3a textproc/ruby-tilt1/Makefile
--- a/textproc/ruby-tilt1/Makefile      Sun Mar 19 15:30:40 2017 +0000
+++ b/textproc/ruby-tilt1/Makefile      Sun Mar 19 16:02:43 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2017/03/19 15:26:03 taca Exp $
+# $NetBSD: Makefile,v 1.2 2017/03/19 16:02:43 taca Exp $
 
 DISTNAME=      tilt-1.4.1
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/tilt/tilt1/}
+PKGREVISION=   1
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,7 +11,11 @@
 LICENSE=       mit
 
 RUBYGEM_OPTIONS+=      --format-executable
-OVERRIDE_GEMSPEC+=     rdoc:
+OVERRIDE_GEMSPEC+=     rdoc: :executables tilt=tilt1 \
+                       :files bin/tilt=bin/tilt1
+
+pre-configure:
+       ${MV} ${WRKSRC}/bin/tilt ${WRKSRC}/bin/tilt1
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2a1fdeee1378 -r 10eba6e9ed3a textproc/ruby-tilt1/PLIST
--- a/textproc/ruby-tilt1/PLIST Sun Mar 19 15:30:40 2017 +0000
+++ b/textproc/ruby-tilt1/PLIST Sun Mar 19 16:02:43 2017 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/19 15:26:03 taca Exp $
-bin/tilt${RUBY_SUFFIX}
+@comment $NetBSD: PLIST,v 1.2 2017/03/19 16:02:43 taca Exp $
+bin/tilt1${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/COPYING
@@ -8,7 +8,7 @@
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
 ${GEM_LIBDIR}/TEMPLATES.md
-${GEM_LIBDIR}/bin/tilt
+${GEM_LIBDIR}/bin/tilt1
 ${GEM_LIBDIR}/lib/tilt.rb
 ${GEM_LIBDIR}/lib/tilt/asciidoc.rb
 ${GEM_LIBDIR}/lib/tilt/builder.rb



Home | Main Index | Thread Index | Old Index