freebsd-ports/devel/ruby-build/Makefile
Steve Wills 38507b8ab7 - Update to 20140408
PR:		ports/188447
Submitted by:	Koichiro IWAO <meta+ports@vmeta.jp>
Approved by:	"Fabian M. Borschel" <fmb@onibox.net> (maintainer)
2014-04-13 03:05:32 +00:00

43 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= ruby-build
PORTVERSION= 20140408
CATEGORIES= devel ruby
MAINTAINER= fmb@onibox.net
COMMENT= Compile and install different ruby versions
LICENSE= RUBY-BUILD
LICENSE_NAME= Sam Stephenson
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RUN_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \
curl:${PORTSDIR}/ftp/curl \
gmake:${PORTSDIR}/devel/gmake
OPTIONS_DEFINE= RBENV
RBENV_DESC= Install rbenv for installation support
OPTIONS_DEFAULT= RBENV
RBENV_RUN_DEPENDS= rbenv:${PORTSDIR}/devel/rbenv
USE_GITHUB= yes
GH_ACCOUNT= sstephenson
GH_COMMIT= 0a9b5e3
GH_TAGNAME= v${PORTVERSION}
NO_BUILD= yes
PLIST_FILES= bin/ruby-build \
libexec/rbenv-install \
libexec/rbenv-uninstall
PORTDATA= *
do-install:
${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>