summaryrefslogtreecommitdiffstats
path: root/devel/chruby/Makefile
blob: a236a820668a964cb62851fd03cab4c56c74f10c (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
31
32
33
34
35
36
37
38
# Created by: Ross Timson <ross@rosstimson.com>
# $FreeBSD$

PORTNAME=	chruby
PORTVERSION=	0.3.6
CATEGORIES=	devel ruby
MASTER_SITES=	GH

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

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

RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash

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

SUB_FILES=	pkg-message

USE_GITHUB=	yes
GH_ACCOUNT=	postmodern
GH_PROJECT=	chruby
GH_COMMIT=	f271d06
GH_TAGNAME=	v${PORTVERSION}

NO_BUILD=	yes

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

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud