aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-install/Makefile
blob: 2cc8d5b06867094d7628932552fc7b55c6b15053 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PORTNAME=	ruby-install
DISTVERSION=	0.10.1
CATEGORIES=	devel ruby
MASTER_SITES=	https://github.com/postmodern/ruby-install/releases/download/v${PORTVERSION}/

MAINTAINER=	henry@henryphan.com
COMMENT=	Compile and install different versions of Ruby
WWW=		https://github.com/postmodern/ruby-install

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

RUN_DEPENDS=	bash:shells/bash \
		curl:ftp/curl \
		sudo:security/sudo

NO_ARCH=	yes
NO_BUILD=	yes

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-install ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/share/man/man1/ruby-install.1 ${STAGEDIR}${PREFIX}/share/man/man1
	(cd ${WRKSRC}/share/ruby-install && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR})

.include <bsd.port.mk>