Replace post-patch: with USES=shebangfix

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-07-11 17:03:24 +00:00
parent 6729db2b2f
commit 5c1babcdbe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445531

View File

@ -22,13 +22,12 @@ RUN_DEPENDS= rubygem-bundler>=0:sysutils/rubygem-bundler \
USE_RUBY= yes
USES= gem shebangfix
SHEBANG_FILES= spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/bin/erubis \
spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/contrib/erubis
PLIST_FILES= bin/merb
post-patch:
@${REINPLACE_CMD} -i '' -e '1s|/.*ruby|${ruby_CMD}|' \
${WRKSRC}/spec10/public/core_ext/fixtures/gems/bin/edit_json.rb
SHEBANG_FILES= spec10/public/core_ext/fixtures/gems/bin/edit_json.rb \
spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/bin/erubis \
spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/contrib/erubis
ruby_OLD_CMD= /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
.include <bsd.port.mk>