diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-11-20 11:14:56 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-11-20 11:14:56 +0800 |
commit | f76441550dabcdf11b210a26c0ccd096d14f5182 (patch) | |
tree | fcf54d32e7b2ec3cc574430e80b9b6e2065d6e0d /devel | |
parent | 5728755f4c06d4581d4005b33dcb32b73874ea32 (diff) | |
download | freebsd-ports-gnome-f76441550dabcdf11b210a26c0ccd096d14f5182.tar.gz freebsd-ports-gnome-f76441550dabcdf11b210a26c0ccd096d14f5182.tar.zst freebsd-ports-gnome-f76441550dabcdf11b210a26c0ccd096d14f5182.zip |
- 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)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-build/Makefile | 26 | ||||
-rw-r--r-- | devel/ruby-build/distinfo | 4 | ||||
-rw-r--r-- | devel/ruby-build/files/patch-bin__rbenv-install | 12 |
3 files changed, 11 insertions, 31 deletions
diff --git a/devel/ruby-build/Makefile b/devel/ruby-build/Makefile index 0f272f37b642..4dfb22aaa91b 100644 --- a/devel/ruby-build/Makefile +++ b/devel/ruby-build/Makefile @@ -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> diff --git a/devel/ruby-build/distinfo b/devel/ruby-build/distinfo index 3d10a4795666..e925ea542131 100644 --- a/devel/ruby-build/distinfo +++ b/devel/ruby-build/distinfo @@ -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 diff --git a/devel/ruby-build/files/patch-bin__rbenv-install b/devel/ruby-build/files/patch-bin__rbenv-install deleted file mode 100644 index 893da4550f12..000000000000 --- a/devel/ruby-build/files/patch-bin__rbenv-install +++ /dev/null @@ -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)" |