Index: head/devel/rbenv/Makefile =================================================================== --- head/devel/rbenv/Makefile (revision 419703) +++ head/devel/rbenv/Makefile (revision 419704) @@ -1,32 +1,36 @@ # $FreeBSD$ PORTNAME= rbenv PORTVERSION= 1.0.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= devel ruby MAINTAINER= meta+ports@vmeta.jp COMMENT= Manage multiple versions of ruby 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 Index: head/devel/rbenv/distinfo =================================================================== --- head/devel/rbenv/distinfo (revision 419703) +++ head/devel/rbenv/distinfo (revision 419704) @@ -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 Index: head/devel/rbenv/pkg-descr =================================================================== --- head/devel/rbenv/pkg-descr (revision 419703) +++ head/devel/rbenv/pkg-descr (revision 419704) @@ -1,5 +1,5 @@ Use rbenv to pick a Ruby version for your application and guarantee 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 Index: head/devel/rbenv/pkg-message =================================================================== --- head/devel/rbenv/pkg-message (nonexistent) +++ head/devel/rbenv/pkg-message (revision 419704) @@ -0,0 +1,8 @@ +********************************************************************** + +Load rbenv automatically by appending +the following to ~/.bash_profile: + + eval "$(rbenv init -)" + +********************************************************************** Property changes on: head/devel/rbenv/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/rbenv/pkg-plist =================================================================== --- head/devel/rbenv/pkg-plist (revision 419703) +++ head/devel/rbenv/pkg-plist (revision 419704) @@ -1,30 +1,32 @@ 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 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-rehash 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 %%DATADIR%%/completions/rbenv.bash %%DATADIR%%/completions/rbenv.fish %%DATADIR%%/completions/rbenv.zsh