aboutsummaryrefslogtreecommitdiff
path: root/devel/chruby/Makefile
blob: 22ff9820e401cd85ab1980b255bac3d5277e64af (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
26
27
28
PORTNAME=	chruby
PORTVERSION=	0.3.9
DISTVERSIONPREFIX=	v
CATEGORIES=	devel ruby

MAINTAINER=	ross@rosstimson.com
COMMENT=	Changes the current Ruby
WWW=		https://github.com/postmodern/chruby

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

RUN_DEPENDS=	bash:shells/bash

PLIST_FILES=	bin/chruby-exec share/chruby/auto.sh share/chruby/chruby.sh

SUB_FILES=	pkg-message

USE_GITHUB=	yes
GH_ACCOUNT=	postmodern

NO_BUILD=	yes

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/bin/chruby-exec ${STAGEDIR}${PREFIX}/bin
	( cd ${WRKSRC}/share/chruby && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/share/chruby )

.include <bsd.port.mk>