aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rubygem-r10k/Makefile
blob: 0368e86f839b45b929b12015868f93f2984319e2 (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
29
30
31
32
PORTNAME=	r10k
PORTVERSION=	3.16.0
CATEGORIES=	sysutils rubygems
MASTER_SITES=	RG

MAINTAINER=	puppet@FreeBSD.org
COMMENT=	Tool for deploying Puppet environments and modules
WWW=		https://github.com/puppetlabs/r10k

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>=1.0:devel/rubygem-gettext-setup \
		rubygem-jwt>=2.2:www/rubygem-jwt \
		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

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>