From owner-svn-ports-head@freebsd.org Sat Apr 23 19:05:42 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE39FB1A0DC; Sat, 23 Apr 2016 19:05:42 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C8E51B27; Sat, 23 Apr 2016 19:05:42 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3NJ5fOr083580; Sat, 23 Apr 2016 19:05:41 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3NJ5f2p083578; Sat, 23 Apr 2016 19:05:41 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201604231905.u3NJ5f2p083578@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sat, 23 Apr 2016 19:05:41 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2016 19:05:42 -0000 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 + #