Permalink
Browse files

- Update to 20131115

- While I'm here:
  - Convert to new options helper
  - Support STAGEDIR

Changes:	https://github.com/sstephenson/ruby-build/blob/master/CHANGELOG.md
PR:		ports/184095
Submitted by:	Fabian M. Borschel <fmb@onibox.net> (maintainer)
  • Loading branch information...
1 parent 5728755 commit f76441550dabcdf11b210a26c0ccd096d14f5182 @sunpoet sunpoet committed Nov 20, 2013
Showing with 11 additions and 31 deletions.
  1. +9 −17 devel/ruby-build/Makefile
  2. +2 −2 devel/ruby-build/distinfo
  3. +0 −12 devel/ruby-build/files/patch-bin__rbenv-install
View
@@ -1,11 +1,9 @@
# $FreeBSD$
PORTNAME= ruby-build
-PORTVERSION= 20130518
+PORTVERSION= 20131115
CATEGORIES= devel ruby
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
- http://people.freebsd.org/~swills/ \
- GH
+MASTER_SITES= GH
MAINTAINER= fmb@onibox.net
COMMENT= Compile and install different ruby versions
@@ -22,17 +20,11 @@ RUN_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \
OPTIONS_DEFINE= RBENV
RBENV_DESC= Install rbenv for installation support
OPTIONS_DEFAULT= RBENV
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MRBENV}
-RUN_DEPENDS+= rbenv:${PORTSDIR}/devel/rbenv
-.endif
+RBENV_RUN_DEPENDS= rbenv:${PORTSDIR}/devel/rbenv
USE_GITHUB= yes
GH_ACCOUNT= sstephenson
-GH_COMMIT= 1b170ee
+GH_COMMIT= 49c1070
GH_TAGNAME= v${PORTVERSION}
NO_BUILD= yes
@@ -43,10 +35,10 @@ PLIST_FILES= bin/ruby-build \
PORTDATA= *
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} )
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-build ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/rbenv-install ${STAGEDIR}${PREFIX}/libexec
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/rbenv-uninstall ${STAGEDIR}${PREFIX}/libexec
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ( cd ${WRKSRC}/share/ruby-build && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR} )
.include <bsd.port.mk>
@@ -1,2 +1,2 @@
-SHA256 (ruby-build-20130518.tar.gz) = bd1f26d30a628fe4f0d775c29bd493b8cfd5d4f9029aa05093a19d7b82066a8f
-SIZE (ruby-build-20130518.tar.gz) = 21763
+SHA256 (ruby-build-20131115.tar.gz) = 3c6260264744ad543ad4943f741d13db00f5add785f2c0ae3d05c9388d81fb48
+SIZE (ruby-build-20131115.tar.gz) = 27491
@@ -1,12 +0,0 @@
---- ./bin/rbenv-install.orig 2013-02-18 22:12:22.000000000 -0800
-+++ ./bin/rbenv-install 2013-02-18 22:16:04.000000000 -0800
-@@ -28,6 +28,10 @@
- RBENV_ROOT="${HOME}/.rbenv"
- fi
-
-+if [ `uname -s` = "FreeBSD" ]; then
-+ export MAKE="gmake"
-+fi
-+
- # Load shared library functions
- eval "$(ruby-build --lib)"

0 comments on commit f764415

Please sign in to comment.