svn commit: r413904 - in head/devel/ruby-setup.rb: . files
Steve Wills
swills at FreeBSD.org
Sat Apr 23 19:05:42 UTC 2016
Author: swills
Date: Sat Apr 23 19:05:41 2016
New Revision: 413904
URL: https://svnweb.freebsd.org/changeset/ports/413904
Log:
devel/ruby-setup.rb: convert to USES=shebangfix
Added:
head/devel/ruby-setup.rb/files/
head/devel/ruby-setup.rb/files/patch-ruby-setup.rb (contents, props changed)
Modified:
head/devel/ruby-setup.rb/Makefile
Modified: head/devel/ruby-setup.rb/Makefile
==============================================================================
--- head/devel/ruby-setup.rb/Makefile Sat Apr 23 19:02:11 2016 (r413903)
+++ head/devel/ruby-setup.rb/Makefile Sat Apr 23 19:05:41 2016 (r413904)
@@ -3,6 +3,7 @@
PORTNAME= setup.rb
PORTVERSION= 3.4.1
+PORTREVISION= 1
CATEGORIES= devel ruby
MASTER_SITES= http://www.loveruby.net/archive/${PORTNAME:R}/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -18,8 +19,6 @@ NO_BUILD= yes
_SCRIPTS= setup.rb
-RUBY_SHEBANG_FILES= ${_SCRIPTS:S:^:${WRKSRC}/ruby-:}
-
DOCS_EN= doc.en/* NEWS.en Usage_en.txt README.en ChangeLog TODO
DOCS_JA= doc.ja/* NEWS.ja Usage_ja.txt README.ja
@@ -30,6 +29,10 @@ post-extract:
${CP} -p ${WRKSRC}/${f} ${WRKSRC}/ruby-${f}
.endfor
+post-patch:
+ @${REINPLACE_CMD} 's!%%LOCALBASE%%!${LOCALBASE}!g' \
+ ${WRKSRC}/ruby-setup.rb
+
do-install:
.for f in ${_SCRIPTS}
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
Added: head/devel/ruby-setup.rb/files/patch-ruby-setup.rb
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ruby-setup.rb/files/patch-ruby-setup.rb Sat Apr 23 19:05:41 2016 (r413904)
@@ -0,0 +1,7 @@
+--- ruby-setup.rb.orig 2016-04-23 14:48:02 UTC
++++ ruby-setup.rb
+@@ -1,3 +1,4 @@
++#!%%LOCALBASE%%/bin/ruby
+ #
+ # setup.rb
+ #
More information about the svn-ports-all
mailing list