diff --git a/devel/rbenv/Makefile b/devel/rbenv/Makefile index e04772843eec..f1a9326fa1f2 100644 --- a/devel/rbenv/Makefile +++ b/devel/rbenv/Makefile @@ -1,39 +1,41 @@ PORTNAME= rbenv -PORTVERSION= 1.1.2 +PORTVERSION= 1.2.0 DISTVERSIONPREFIX= v CATEGORIES= devel ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Manage multiple versions of ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= bash:shells/bash USES= cpe -CPE_VENDOR= ${PORTNAME}_project + USE_GITHUB= yes NO_BUILD= yes REINPLACE_ARGS= -i '' +CPE_VENDOR= rbenv_project + post-patch: @${REINPLACE_CMD} -e "s|\$${root}/completions|${DATADIR}/completions|g" \ ${WRKSRC}/libexec/rbenv-init do-install: CC="${CC}" ${WRKSRC}/src/${CONFIGURE_CMD} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/src ( ${INSTALL_SCRIPT} ${WRKSRC}/libexec/* ${STAGEDIR}${PREFIX}/libexec/ ) @${LN} -sf ../libexec/rbenv ${STAGEDIR}${PREFIX}/bin/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 ) post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/rbenv-realpath.dylib .include diff --git a/devel/rbenv/distinfo b/devel/rbenv/distinfo index 4cf1d6482d33..82727d68a421 100644 --- a/devel/rbenv/distinfo +++ b/devel/rbenv/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1553522439 -SHA256 (rbenv-rbenv-v1.1.2_GH0.tar.gz) = 80ad89ffe04c0b481503bd375f05c212bbc7d44ef5f5e649e0acdf25eba86736 -SIZE (rbenv-rbenv-v1.1.2_GH0.tar.gz) = 32188 +TIMESTAMP = 1635181743 +SHA256 (rbenv-rbenv-v1.2.0_GH0.tar.gz) = 3f3a31b8a73c174e3e877ccc1ea453d966b4d810a2aadcd4d8c460bc9ec85e0c +SIZE (rbenv-rbenv-v1.2.0_GH0.tar.gz) = 32994 diff --git a/devel/rbenv/pkg-plist b/devel/rbenv/pkg-plist index 25cc9ec2b93f..7519413b8db1 100644 --- a/devel/rbenv/pkg-plist +++ b/devel/rbenv/pkg-plist @@ -1,32 +1,31 @@ bin/rbenv 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-realpath.dylib 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