From owner-svn-ports-all@FreeBSD.ORG Mon May 27 03:07:21 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 92DBEC09; Mon, 27 May 2013 03:07:21 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 851E7D66; Mon, 27 May 2013 03:07:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4R37LWm097458; Mon, 27 May 2013 03:07:21 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4R37KW3097447; Mon, 27 May 2013 03:07:20 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201305270307.r4R37KW3097447@svn.freebsd.org> From: Steve Wills Date: Mon, 27 May 2013 03:07:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319153 - in head/devel: . chruby chruby/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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 03:07:21 -0000 Author: swills Date: Mon May 27 03:07:20 2013 New Revision: 319153 URL: http://svnweb.freebsd.org/changeset/ports/319153 Log: Changes the current Ruby. WWW: https://github.com/postmodern/chruby PR: ports/175552 Submitted by: Ross Timson Added: head/devel/chruby/ head/devel/chruby/Makefile (contents, props changed) head/devel/chruby/distinfo (contents, props changed) head/devel/chruby/files/ head/devel/chruby/files/pkg-message.in (contents, props changed) head/devel/chruby/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon May 27 02:40:17 2013 (r319152) +++ head/devel/Makefile Mon May 27 03:07:20 2013 (r319153) @@ -205,6 +205,7 @@ SUBDIR += checkbashisms SUBDIR += checkheaders SUBDIR += chrpath + SUBDIR += chruby SUBDIR += cil SUBDIR += cityhash SUBDIR += cl-alexandria Added: head/devel/chruby/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/chruby/Makefile Mon May 27 03:07:20 2013 (r319153) @@ -0,0 +1,37 @@ +# Created by: Ross Timson +# $FreeBSD$ + +PORTNAME= chruby +PORTVERSION= 0.3.2 +CATEGORIES= devel ruby +MASTER_SITES= GH + +MAINTAINER= ross@rosstimson.com +COMMENT= Changes the current Ruby + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash + +PLIST_FILES= bin/chruby-exec share/chruby/auto.sh share/chruby/chruby.sh +PLIST_DIRS= share/chruby + +SUB_FILES= pkg-message + +USE_GITHUB= yes +GH_ACCOUNT= postmodern +GH_PROJECT= chruby +GH_COMMIT= 872cd1b +GH_TAGNAME= v${PORTVERSION} + +NO_BUILD= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/bin/chruby-exec ${PREFIX}/bin + ( cd ${WRKSRC}/share/chruby && ${COPYTREE_BIN} \* ${PREFIX}/share/chruby ) + +post-install: + @${CAT} ${PKGMESSAGE} + +.include Added: head/devel/chruby/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/chruby/distinfo Mon May 27 03:07:20 2013 (r319153) @@ -0,0 +1,2 @@ +SHA256 (chruby-0.3.2.tar.gz) = 9d3d73fbf9d19acccdb5d3ba9377a6bd81eb0a27c436472ed44084ef6f4a1567 +SIZE (chruby-0.3.2.tar.gz) = 13385 Added: head/devel/chruby/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/chruby/files/pkg-message.in Mon May 27 03:07:20 2013 (r319153) @@ -0,0 +1,27 @@ +====================================================================== + +Add the following to the /etc/profile.d/chruby.sh, ~/.bash_profile or +~/.zprofile file: + +source %%PREFIX%%/share/chruby/chruby.sh + +By default chruby will search for Rubies installed into /opt/rubies/ or +~/.rubies/. For non-standard installation locations, simply set the RUBIES +variable: + +RUBIES=( + /opt/jruby-1.7.0 + $HOME/src/rubinius +) + +If you are migrating from another Ruby manager, set `RUBIES` accordingly: + +RVM: RUBIES=(~/.rvm/rubies/*) +rbenv: RUBIES=(~/.rbenv/versions/*) +rbfu: RUBIES=('~/.rbfu/rubies/*) + +To enable auto-switching of Rubies specified by .ruby-version files: + +source %%PREFIX%%/share/chruby/auto.sh + +====================================================================== Added: head/devel/chruby/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/chruby/pkg-descr Mon May 27 03:07:20 2013 (r319153) @@ -0,0 +1,3 @@ +Changes the current Ruby. + +WWW: https://github.com/postmodern/chruby