From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 24 22:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1F1AE510 for ; Thu, 24 Jan 2013 22:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0351EB08 for ; Thu, 24 Jan 2013 22:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0OMU0Na018521 for ; Thu, 24 Jan 2013 22:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0OMU0LP018516; Thu, 24 Jan 2013 22:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 24 Jan 2013 22:30:00 GMT Resent-Message-Id: <201301242230.r0OMU0LP018516@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ross Timson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 033CE46E for ; Thu, 24 Jan 2013 22:24:41 +0000 (UTC) (envelope-from ross@rosstimson.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7E2EFAA9 for ; Thu, 24 Jan 2013 22:24:39 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id es5so2250667wgb.29 for ; Thu, 24 Jan 2013 14:24:33 -0800 (PST) Received: from localhost (host-2-97-155-103.as13285.net. [2.97.155.103]) by mx.google.com with ESMTPS id hu8sm4389141wib.6.2013.01.24.14.24.31 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 24 Jan 2013 14:24:32 -0800 (PST) Message-Id: <5101b4a0.c86db40a.0c64.65e5@mx.google.com> Date: Thu, 24 Jan 2013 14:24:32 -0800 (PST) From: Ross Timson To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/175552: [NEW PORT] devel/chruby: Changes the current Ruby X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 22:30:01 -0000 >Number: 175552 >Category: ports >Synopsis: [NEW PORT] devel/chruby: Changes the current Ruby >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jan 24 22:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ross Timson >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD adrastea.rosstimson.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 >Description: Changes the current Ruby. WWW: https://github.com/postmodern/chruby Generated with FreeBSD Port Tools 0.99_6 (mode: new) >How-To-Repeat: >Fix: --- .shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # chruby # chruby/files # chruby/files/pkg-message.in # chruby/pkg-descr # chruby/Makefile # chruby/distinfo # echo c - chruby mkdir -p chruby > /dev/null 2>&1 echo c - chruby/files mkdir -p chruby/files > /dev/null 2>&1 echo x - chruby/files/pkg-message.in sed 's/^X//' >chruby/files/pkg-message.in << '035eb3e876536eca97d23f40cfe76e9d' X====================================================================== X XAdd the following to the /etc/profile.d/chruby.sh, ~/.bash_profile or X~/.zprofile file: X Xsource %%PREFIX%%/share/chruby/chruby.sh X XBy default chruby will search for Rubies installed into /opt/rubies/ or X~/.rubies/. For non-standard installation locations, simply set the RUBIES Xvariable: X XRUBIES=( X /opt/jruby-1.7.0 X $HOME/src/rubinius X) X XIf you are migrating from another Ruby manager, set `RUBIES` accordingly: X XRVM: RUBIES=(~/.rvm/rubies/*) Xrbenv: RUBIES=(~/.rbenv/versions/*) Xrbfu: RUBIES=('~/.rbfu/rubies/*) X XTo enable auto-switching of Rubies specified by .ruby-version files: X Xsource %%PREFIX%%/share/chruby/auto.sh X X====================================================================== 035eb3e876536eca97d23f40cfe76e9d echo x - chruby/pkg-descr sed 's/^X//' >chruby/pkg-descr << '92390703a29e9625d1b214bf120d9ba1' XChanges the current Ruby. X XWWW: https://github.com/postmodern/chruby 92390703a29e9625d1b214bf120d9ba1 echo x - chruby/Makefile sed 's/^X//' >chruby/Makefile << '9ac9ba18f4d8ab2b4844d399020e58b4' X# Created by: Ross Timson X# $FreeBSD$ X XPORTNAME=chruby XPORTVERSION=0.3.2 XCATEGORIES=devel ruby XMASTER_SITES=GH X XMAINTAINER=ross@rosstimson.com XCOMMENT=Changes the current Ruby X XLICENSE=MIT XLICENSE_FILE=${WRKSRC}/LICENSE.txt X XRUN_DEPENDS=bash:${PORTSDIR}/shells/bash X XPLIST_FILES=bin/chruby-exec share/chruby/auto.sh share/chruby/chruby.sh X XSUB_FILES=pkg-message XSUB_LIST=PREFIX=${PREFIX} X XUSE_GITHUB=yes XGH_ACCOUNT=postmodern XGH_PROJECT=chruby XGH_COMMIT=872cd1b XGH_TAGNAME=v${PORTVERSION} X XNO_BUILD=yes X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/bin/chruby-exec ${PREFIX}/bin X ( cd ${WRKSRC}/share/chruby && ${COPYTREE_BIN} \* ${PREFIX}/share/chruby ) X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include 9ac9ba18f4d8ab2b4844d399020e58b4 echo x - chruby/distinfo sed 's/^X//' >chruby/distinfo << '2a706c6e34eb1be769bef53cdaf2aace' XSHA256 (chruby-0.3.2.tar.gz) = 9d3d73fbf9d19acccdb5d3ba9377a6bd81eb0a27c436472ed44084ef6f4a1567 XSIZE (chruby-0.3.2.tar.gz) = 13385 2a706c6e34eb1be769bef53cdaf2aace exit --- .shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: