Date: Sat, 23 Apr 2016 19:05:41 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413904 - in head/devel/ruby-setup.rb: . files Message-ID: <201604231905.u3NJ5f2p083578@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 + #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604231905.u3NJ5f2p083578>