summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/ruby16-shim-ruby18/Makefile7
-rw-r--r--lang/ruby16-shim-ruby18/pkg-plist1
2 files changed, 7 insertions, 1 deletions
diff --git a/lang/ruby16-shim-ruby18/Makefile b/lang/ruby16-shim-ruby18/Makefile
index d5a6bab..544a3f2 100644
--- a/lang/ruby16-shim-ruby18/Makefile
+++ b/lang/ruby16-shim-ruby18/Makefile
@@ -7,6 +7,7 @@
PORTNAME= shim-ruby18
PORTVERSION= 1.7.3.2002.12.11
+PORTREVISION= 1
CATEGORIES= lang devel ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR= shim
@@ -36,10 +37,14 @@ IF_DEFAULT= ""
IF_DEFAULT= "@comment "
.endif
-INSTALLED_SCRIPTS= ${PREFIX}/bin/erb
+INSTALLED_SCRIPTS= ${PREFIX}/bin/erb \
+ ${PREFIX}/bin/h2rb
PLIST_SUB+= IF_DEFAULT=${IF_DEFAULT} \
+post-extract:
+ ${MV} ${WRKSRC}/ext/dl/h2rb ${WRKSRC}/bin/
+
pre-install:
${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
diff --git a/lang/ruby16-shim-ruby18/pkg-plist b/lang/ruby16-shim-ruby18/pkg-plist
index 00e9501..ead7c34 100644
--- a/lang/ruby16-shim-ruby18/pkg-plist
+++ b/lang/ruby16-shim-ruby18/pkg-plist
@@ -1,5 +1,6 @@
%%IF_DEFAULT%%bin/erb%%RUBY_R%%
bin/erb%%_RUBY_SUFFIX%%
+bin/h2rb%%_RUBY_SUFFIX%%
@comment features/ruby18
%%RUBY_SITEARCHLIBDIR%%/features/ruby18/file_ruby18.so
%%RUBY_SITEARCHLIBDIR%%/features/ruby18/io_ruby18.so
OpenPOWER on IntegriCloud