pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ramaze www/ramaze: use --format-executable RUBYGEM...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8a8b7a6c6d9
branches:  trunk
changeset: 453745:c8a8b7a6c6d9
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Jun 02 15:52:04 2021 +0000

description:
www/ramaze: use --format-executable RUBYGEM_OPTIONS

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

No functional change.

diffstat:

 www/ramaze/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r e4e537408f51 -r c8a8b7a6c6d9 www/ramaze/Makefile
--- a/www/ramaze/Makefile       Wed Jun 02 15:51:21 2021 +0000
+++ b/www/ramaze/Makefile       Wed Jun 02 15:52:04 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2021/05/21 21:06:19 nia Exp $
+# $NetBSD: Makefile,v 1.13 2021/06/02 15:52:04 taca Exp $
 
 DISTNAME=      ramaze-2012.12.08
 PKGREVISION=   1
@@ -11,8 +11,7 @@
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-innate>=2012.12:../../www/ruby-innate
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} ramaze ramaze${RUBY_SUFFIX}
+RUBYGEM_OPTIONS+=      --format-executable
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index