svn commit: r310416 - in head/devel: . ruby-build
Jason Helfman
jgh at FreeBSD.org
Mon Jan 14 23:49:13 UTC 2013
Author: jgh
Date: Mon Jan 14 23:49:12 2013
New Revision: 310416
URL: http://svnweb.freebsd.org/changeset/ports/310416
Log:
- add new port: devel/ruby-build
ruby-build is a rbenv plugin that provides a rbenv install command to compile
and install different versions of Ruby on UNIX-like systems. You can also use
ruby-build without rbenv in environments where you need precise control over
Ruby version installation.
WWW: https://github.com/sstephenson/ruby-build
PR: 174980
Submitted by: fmb at onibox.net
Added:
head/devel/ruby-build/
head/devel/ruby-build/Makefile (contents, props changed)
head/devel/ruby-build/distinfo (contents, props changed)
head/devel/ruby-build/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Mon Jan 14 22:48:21 2013 (r310415)
+++ head/devel/Makefile Mon Jan 14 23:49:12 2013 (r310416)
@@ -3833,6 +3833,7 @@
SUBDIR += ruby-aspectr
SUBDIR += ruby-avl
SUBDIR += ruby-bsearch
+ SUBDIR += ruby-build
SUBDIR += ruby-byaccr
SUBDIR += ruby-cache
SUBDIR += ruby-calendar
Added: head/devel/ruby-build/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ruby-build/Makefile Mon Jan 14 23:49:12 2013 (r310416)
@@ -0,0 +1,53 @@
+# $FreeBSD$
+
+PORTNAME= ruby-build
+PORTVERSION= 20130104
+CATEGORIES= devel ruby
+MASTER_SITES= GH
+
+MAINTAINER= fmb at onibox.net
+COMMENT= Compile and install different ruby versions
+
+LICENSE= RUBY-BUILD
+LICENSE_NAME= Sam Stephenson
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS=${_LICENSE_PERMS_DEFAULT}
+
+RUN_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \
+ curl:${PORTSDIR}/ftp/curl \
+ gmake:${PORTSDIR}/devel/gmake
+
+OPTIONS_DEFINE= RBENV
+RBENV_DESC= Install rbenv for installation support
+OPTIONS_DEFAULT= RBENV
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MRBENV}
+RUN_DEPENDS+= rbenv:${PORTSDIR}/devel/rbenv
+.endif
+
+USE_GITHUB= yes
+GH_ACCOUNT= sstephenson
+GH_PROJECT= ${PORTNAME}
+GH_COMMIT= 9ef0e06
+GH_TAGNAME= v${PORTVERSION}
+
+NO_BUILD= yes
+
+PLIST_FILES= bin/ruby-build \
+ libexec/rbenv-install \
+ libexec/rbenv-uninstall
+PORTDATA= *
+
+post-patch-script:
+ @${REINPLACE_CMD} -e 's|make\s|gmake|' \
+ ${WRKSRC}/bin/ruby-build
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-build ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/rbenv-install ${PREFIX}/libexec
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/rbenv-uninstall ${PREFIX}/libexec
+ @${MKDIR} ${DATADIR}
+ ( cd ${WRKSRC}/share/ruby-build && ${COPYTREE_BIN} \* ${DATADIR} )
+
+.include <bsd.port.mk>
Added: head/devel/ruby-build/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ruby-build/distinfo Mon Jan 14 23:49:12 2013 (r310416)
@@ -0,0 +1,2 @@
+SHA256 (ruby-build-20130104.tar.gz) = ae54c9eb8e61d6ccbb33a9702d4e391f105769007a818c8be3dafad38c5d9240
+SIZE (ruby-build-20130104.tar.gz) = 17478
Added: head/devel/ruby-build/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ruby-build/pkg-descr Mon Jan 14 23:49:12 2013 (r310416)
@@ -0,0 +1,6 @@
+ruby-build is a rbenv plugin that provides a rbenv install command to compile
+and install different versions of Ruby on UNIX-like systems. You can also use
+ruby-build without rbenv in environments where you need precise control over
+Ruby version installation.
+
+WWW: https://github.com/sstephenson/ruby-build
More information about the svn-ports-all
mailing list