1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Properly install h2rb so that lang/ruby-devel doesn't create a

dangling symlink.  PORTREVISION bumped.
This commit is contained in:
Akinori MUSHA 2002-12-16 07:07:34 +00:00
parent 3131770059
commit be07c2480b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71666
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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