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 graphics/ruby-color-japan...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d60e4d8a050c
branches:  trunk
changeset: 453743:d60e4d8a050c
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Jun 02 15:50:34 2021 +0000

description:
graphics/ruby-color-japanese: use --format-executable RUBYGEM_OPTIONS

Use --format-executable RUBYGEM_OPTIONS instead of manually renaming
with post-install.

No functional change.

diffstat:

 graphics/ruby-color-japanese/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 4e1994a98120 -r d60e4d8a050c graphics/ruby-color-japanese/Makefile
--- a/graphics/ruby-color-japanese/Makefile     Wed Jun 02 15:47:15 2021 +0000
+++ b/graphics/ruby-color-japanese/Makefile     Wed Jun 02 15:50:34 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/05/21 12:40:22 nia Exp $
+# $NetBSD: Makefile,v 1.4 2021/06/02 15:50:34 taca Exp $
 
 DISTNAME=      color-japanese-1.0.0
 CATEGORIES=    graphics
@@ -11,8 +11,7 @@
 DEPENDS+=      ${RUBY_PKGPREFIX}-color-tools>0:../../graphics/ruby-color-tools
 DEPENDS+=      ${RUBY_PKGPREFIX}-hoe>=1.2.0:../../devel/hoe
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} jcolorc jcolorc${RUBY_SUFFIX}
+RUBYGEM_OPTIONS+=      --format-executable
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index