Date: Fri, 5 Aug 2016 18:55:03 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419704 - head/devel/rbenv Message-ID: <201608051855.u75It3l8098565@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Fri Aug 5 18:55:02 2016 New Revision: 419704 URL: https://svnweb.freebsd.org/changeset/ports/419704 Log: - Change the GitHub repo sstephenson -> rbenv [1] - Include the gem-rehash plugin (now included with rbenv) [1] - Update the autocompletion patch [1] - Update WWW homepage, add pkg-descr [1] - Fix absolute path link to libexec/rbenv PR: 211536 [1] Submitted by: Jose Luis Duran (via private email) [1] Approved by: Koichiro IWAO (maintainer) Added: head/devel/rbenv/pkg-message (contents, props changed) Modified: head/devel/rbenv/Makefile head/devel/rbenv/distinfo head/devel/rbenv/pkg-descr head/devel/rbenv/pkg-plist Modified: head/devel/rbenv/Makefile ============================================================================== --- head/devel/rbenv/Makefile Fri Aug 5 18:41:21 2016 (r419703) +++ head/devel/rbenv/Makefile Fri Aug 5 18:55:02 2016 (r419704) @@ -3,6 +3,7 @@ PORTNAME= rbenv PORTVERSION= 1.0.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= devel ruby MAINTAINER= meta+ports@vmeta.jp @@ -13,20 +14,23 @@ LICENSE= MIT RUN_DEPENDS= bash:shells/bash USE_GITHUB= yes -GH_ACCOUNT= sstephenson +GH_ACCOUNT= rbenv NO_BUILD= yes REINPLACE_ARGS= -i '' post-patch: - @${REINPLACE_CMD} -e "s|\$$root/completions|${DATADIR}/completions|g" ${WRKSRC}/libexec/rbenv-init + @${REINPLACE_CMD} -e "s|\$${root}/completions|${DATADIR}/completions|g" \ + ${WRKSRC}/libexec/rbenv-init do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-local-exec ${STAGEDIR}${PREFIX}/bin ( ${INSTALL_SCRIPT} ${WRKSRC}/libexec/* ${STAGEDIR}${PREFIX}/libexec/ ) - @${LN} -sf ${PREFIX}/libexec/rbenv ${STAGEDIR}${PREFIX}/bin/rbenv + (cd ${STAGEDIR}${PREFIX}/bin && ${LN} -sf ../libexec/rbenv .) @${MKDIR} ${STAGEDIR}${DATADIR}/completions ( cd ${WRKSRC}/completions && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/completions ) + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/rbenv.d + ( cd ${WRKSRC}/rbenv.d && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/etc/rbenv.d ) .include <bsd.port.mk> Modified: head/devel/rbenv/distinfo ============================================================================== --- head/devel/rbenv/distinfo Fri Aug 5 18:41:21 2016 (r419703) +++ head/devel/rbenv/distinfo Fri Aug 5 18:55:02 2016 (r419704) @@ -1,2 +1,3 @@ -SHA256 (sstephenson-rbenv-v1.0.0_GH0.tar.gz) = 4658f2d8604ef847b39cb8216bb0d8a8aa000f504b6d06b30e008f92e6fa5210 -SIZE (sstephenson-rbenv-v1.0.0_GH0.tar.gz) = 30298 +TIMESTAMP = 1470184985 +SHA256 (rbenv-rbenv-v1.0.0_GH0.tar.gz) = 4658f2d8604ef847b39cb8216bb0d8a8aa000f504b6d06b30e008f92e6fa5210 +SIZE (rbenv-rbenv-v1.0.0_GH0.tar.gz) = 30298 Modified: head/devel/rbenv/pkg-descr ============================================================================== --- head/devel/rbenv/pkg-descr Fri Aug 5 18:41:21 2016 (r419703) +++ head/devel/rbenv/pkg-descr Fri Aug 5 18:55:02 2016 (r419704) @@ -2,4 +2,4 @@ Use rbenv to pick a Ruby version for you that your development environment matches production. Put rbenv to work with Bundler for painless Ruby upgrades and bulletproof deployments. -WWW: https://github.com/sstephenson/rbenv +WWW: https://github.com/rbenv/rbenv Added: head/devel/rbenv/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rbenv/pkg-message Fri Aug 5 18:55:02 2016 (r419704) @@ -0,0 +1,8 @@ +********************************************************************** + +Load rbenv automatically by appending +the following to ~/.bash_profile: + + eval "$(rbenv init -)" + +********************************************************************** Modified: head/devel/rbenv/pkg-plist ============================================================================== --- head/devel/rbenv/pkg-plist Fri Aug 5 18:41:21 2016 (r419703) +++ head/devel/rbenv/pkg-plist Fri Aug 5 18:55:02 2016 (r419704) @@ -1,5 +1,7 @@ bin/rbenv bin/ruby-local-exec +etc/rbenv.d/exec/gem-rehash.bash +etc/rbenv.d/exec/gem-rehash/rubygems_plugin.rb libexec/rbenv libexec/rbenv---version libexec/rbenv-commands
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608051855.u75It3l8098565>