summaryrefslogtreecommitdiff
path: root/sysutils/rubygem-r10k/Makefile
blob: 9e59daee094630aa82db5fa2647c570058c3be40 (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

PORTNAME=	r10k
PORTVERSION=	3.8.0
CATEGORIES=	sysutils rubygems
MASTER_SITES=	RG

MAINTAINER=	puppet@FreeBSD.org
COMMENT=	Tool for deploying Puppet environments and modules

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	rubygem-colored2>=3.1.2:textproc/rubygem-colored2 \
		rubygem-cri>=2.15.6:devel/rubygem-cri \
		rubygem-gettext-setup>=0.24:devel/rubygem-gettext-setup \
		rubygem-log4r>=1.1.10:sysutils/rubygem-log4r \
		rubygem-multi_json>=1.10:devel/rubygem-multi_json \
		rubygem-puppet_forge>=2.3.0:sysutils/rubygem-puppet_forge

USES=		gem
USE_RUBY=	yes

NO_ARCH=	yes

PLIST_FILES=	bin/r10k

post-patch:
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
		${WRKSRC}/lib/r10k/settings.rb \
		${WRKSRC}/lib/r10k/settings/loader.rb

.include <bsd.port.mk>