Date: Mon, 27 May 2013 03:07:20 +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: r319153 - in head/devel: . chruby chruby/files Message-ID: <201305270307.r4R37KW3097447@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <ross@rosstimson.com> 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 <ross@rosstimson.com> +# $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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305270307.r4R37KW3097447>