From 34524da12229902b43512241386cf7296f477193 Mon Sep 17 00:00:00 2001 From: jgh Date: Wed, 2 Jan 2013 07:40:39 +0000 Subject: - add new port : devel/rbenv rbenv lets you easily switch between multiple versions of Ruby. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well. WWW: https://github.com/sstephenson/rbenv PR: 174735 Submitted by: fmb@onibox.net --- devel/Makefile | 1 + devel/rbenv/Makefile | 31 +++++++++++++++++++++++++++++++ devel/rbenv/distinfo | 2 ++ devel/rbenv/pkg-descr | 5 +++++ devel/rbenv/pkg-plist | 25 +++++++++++++++++++++++++ 5 files changed, 64 insertions(+) create mode 100644 devel/rbenv/Makefile create mode 100644 devel/rbenv/distinfo create mode 100644 devel/rbenv/pkg-descr create mode 100644 devel/rbenv/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index b7529ad6a2d6..ab74c71f0a1c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3781,6 +3781,7 @@ SUBDIR += ragel SUBDIR += raknet SUBDIR += rapidsvn + SUBDIR += rbenv SUBDIR += rbtools SUBDIR += rclint SUBDIR += rcs diff --git a/devel/rbenv/Makefile b/devel/rbenv/Makefile new file mode 100644 index 000000000000..301cc3af2e91 --- /dev/null +++ b/devel/rbenv/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= rbenv +PORTVERSION= 0.3.0 +CATEGORIES= devel ruby +MASTER_SITES= GH + +MAINTAINER= fmb@onibox.net +COMMENT= Manage multiple versions of ruby + +LICENSE= RBENV +LICENSE_NAME= Sam Stephenson +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT} + +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash + +USE_GITHUB= yes +GH_ACCOUNT= sstephenson +GH_PROJECT= rbenv +GH_COMMIT= b10bdb1 +GH_TAGNAME= v${PORTVERSION} + +NO_BUILD= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-local-exec ${PREFIX}/bin + ( cd ${WRKSRC}/libexec && ${COPYTREE_BIN} \* ${PREFIX}/libexec ) + @${LN} -sf ${PREFIX}/libexec/rbenv ${PREFIX}/bin/rbenv + +.include diff --git a/devel/rbenv/distinfo b/devel/rbenv/distinfo new file mode 100644 index 000000000000..21fba4069ccc --- /dev/null +++ b/devel/rbenv/distinfo @@ -0,0 +1,2 @@ +SHA256 (rbenv-0.3.0.tar.gz) = 445b8d742bbb72a4e65280e655122914d13954566fe7f46c7706f7730bbeaa35 +SIZE (rbenv-0.3.0.tar.gz) = 13703 diff --git a/devel/rbenv/pkg-descr b/devel/rbenv/pkg-descr new file mode 100644 index 000000000000..06fb0fb25493 --- /dev/null +++ b/devel/rbenv/pkg-descr @@ -0,0 +1,5 @@ +rbenv lets you easily switch between multiple versions of Ruby. +It's simple, unobtrusive, and follows the UNIX tradition of +single-purpose tools that do one thing well. + +WWW: https://github.com/sstephenson/rbenv diff --git a/devel/rbenv/pkg-plist b/devel/rbenv/pkg-plist new file mode 100644 index 000000000000..85f31ddffcbf --- /dev/null +++ b/devel/rbenv/pkg-plist @@ -0,0 +1,25 @@ +bin/rbenv +bin/ruby-local-exec +libexec/rbenv +libexec/rbenv-commands +libexec/rbenv-completions +libexec/rbenv-exec +libexec/rbenv-global +libexec/rbenv-help +libexec/rbenv-hooks +libexec/rbenv-init +libexec/rbenv-local +libexec/rbenv-prefix +libexec/rbenv-rehash +libexec/rbenv-root +libexec/rbenv-sh-shell +libexec/rbenv-shims +libexec/rbenv-version +libexec/rbenv-version-file +libexec/rbenv-version-file-read +libexec/rbenv-version-file-write +libexec/rbenv-version-name +libexec/rbenv-version-origin +libexec/rbenv-versions +libexec/rbenv-whence +libexec/rbenv-which -- cgit