1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/rbenv/Makefile
Raphael Kubo da Costa 966ad5ef22 - Pass maintainership to submitter.
- Fix LICENSE, the port is actually MIT-licensed.

PR:		191856
Submitted by:	Koichiro IWAO <meta+ports@vmeta.jp>
2014-07-14 07:30:14 +00:00

37 lines
875 B
Makefile

# $FreeBSD$
PORTNAME= rbenv
PORTVERSION= 0.4.0
PORTREVISION= 2
CATEGORIES= devel ruby
MASTER_SITES= GH
MAINTAINER= meta+ports@vmeta.jp
COMMENT= Manage multiple versions of ruby
LICENSE= MIT
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_GITHUB= yes
GH_ACCOUNT= sstephenson
GH_PROJECT= rbenv
GH_COMMIT= 9375e99
GH_TAGNAME= v${PORTVERSION}
NO_BUILD= yes
REINPLACE_ARGS= -i ''
post-patch:
@${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
@${MKDIR} ${STAGEDIR}${DATADIR}/completions
( cd ${WRKSRC}/completions && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/completions )
.include <bsd.port.mk>