graphics/ruby-color-japanese: use --format-executable RUBYGEM_OPTIONS
Use --format-executable RUBYGEM_OPTIONS instead of manually renaming with post-install. No functional change.
This commit is contained in:
parent
d64f5cfb3e
commit
bcdee189a0
1 changed files with 2 additions and 3 deletions
|
@ -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 @@ LICENSE= mit
|
|||
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"
|
||||
|
|
Loading…
Reference in a new issue