aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rubygem-chef/Makefile
blob: 4805fce974af36b65f10ceac815a40ec9df7bc18 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Created by: Renaud Chaput <renchap@cocoa-x.com>
# $FreeBSD$

PORTNAME=   chef
PORTVERSION=    11.14.6
PORTREVISION=   2
CATEGORIES= sysutils
MASTER_SITES=   RG

MAINTAINER= renchap@cocoa-x.com
COMMENT=    Systems integration framework. Client part

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    rubygem-chef-zero>=2.1.0:sysutils/rubygem-chef-zero \
        rubygem-diff-lcs>=0.0.0:textproc/rubygem-diff-lcs \
        rubygem-erubis>=0:www/rubygem-erubis \
        rubygem-ffi-yajl>=1.0.1:devel/rubygem-ffi-yajl \
        rubygem-highline>=1.6.9:devel/rubygem-highline \
        rubygem-mime-types1>=1.16:misc/rubygem-mime-types1 \
        rubygem-mixlib-authentication>=1.3.0:devel/rubygem-mixlib-authentication \
        rubygem-mixlib-cli>=1.4.0:devel/rubygem-mixlib-cli \
        rubygem-mixlib-config>=2.1.0:devel/rubygem-mixlib-config \
        rubygem-mixlib-log>=1.3.0:devel/rubygem-mixlib-log \
        rubygem-mixlib-shellout>=1.4.0:devel/rubygem-mixlib-shellout \
        rubygem-net-ssh>=2.6:security/rubygem-net-ssh \
        rubygem-net-ssh-multi>=1.1.0:security/rubygem-net-ssh-multi \
        rubygem-ohai>=7.2.0:sysutils/rubygem-ohai \
        rubygem-plist>=3.1.0:devel/rubygem-plist \
        rubygem-pry>=0.9.0:devel/rubygem-pry \
        rubygem-rest-client>=1.0.4:www/rubygem-rest-client

NO_ARCH=        yes
USE_RUBY=       yes
USES=       gem

SUB_LIST=   RUBY=${RUBY}
USE_RC_SUBR=    chef_client

post-install:
.for M1 in chef-shell.1 knife-bootstrap.1 knife-client.1 knife-configure.1 knife-cookbook-site.1 \
    knife-cookbook.1 knife-data-bag.1 knife-delete.1 knife-deps.1 knife-diff.1 \
    knife-download.1 knife-edit.1 knife-environment.1 knife-exec.1 knife-index-rebuild.1 \
    knife-list.1 knife-node.1 knife-raw.1 knife-recipe-list.1 knife-role.1 knife-search.1 \
    knife-serve.1 knife-show.1 knife-ssh.1 knife-ssl-check.1 knife-ssl-fetch.1 knife-status.1 \
    knife-tag.1 knife-upload.1 knife-user.1 knife-xargs.1 knife.1
    @cd ${WRKSRC}/distro/common/man/man1 && ${INSTALL_MAN} ${M1} ${STAGEDIR}${MANPREFIX}/man/man1/
.endfor
.for M8 in chef-client.8 chef-solo.8
    @cd ${WRKSRC}/distro/common/man/man8 && ${INSTALL_MAN} ${M8} ${STAGEDIR}${MANPREFIX}/man/man8/
.endfor

.include <bsd.port.mk>