summaryrefslogtreecommitdiff
path: root/graphics/ruby-color-japanese
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2021-06-02 15:50:34 +0000
committertaca <taca@pkgsrc.org>2021-06-02 15:50:34 +0000
commit60556f67330b10d0adf7975d17be5edaa6df9323 (patch)
tree64b30a98f1dd33f0698b0e2f87beab51480f1db2 /graphics/ruby-color-japanese
parent09307f1fa54e06b676cfd3eb6ebac83b4aa3411d (diff)
downloadpkgsrc-60556f67330b10d0adf7975d17be5edaa6df9323.tar.gz
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 (limited to 'graphics/ruby-color-japanese')
-rw-r--r--graphics/ruby-color-japanese/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/ruby-color-japanese/Makefile b/graphics/ruby-color-japanese/Makefile
index 3523f017925..b96c874f239 100644
--- a/graphics/ruby-color-japanese/Makefile
+++ b/graphics/ruby-color-japanese/Makefile
@@ -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"