summaryrefslogtreecommitdiffstats
path: root/devel/chruby/Makefile
blob: b1c21808b5754f31c885b147846061028171c7db (plain)
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
29
30
# Created by: Ross Timson <ross@rosstimson.com>
# $FreeBSD$

PORTNAME=	chruby
PORTVERSION=	0.3.9
DISTVERSIONPREFIX=	v
CATEGORIES=	devel ruby

MAINTAINER=	ross@rosstimson.com
COMMENT=	Changes the current Ruby

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>
OpenPOWER on IntegriCloud