aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rubygem-chef/Makefile
blob: 5bbb41cf8d6d7d2bfb0fa2bd9974956b151e9309 (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
# Created by: Renaud Chaput <renchap@cocoa-x.com>
# $FreeBSD$

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

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

LICENSE=    APACHE20

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

USE_RUBY=       yes
USE_RUBYGEMS=       yes
USE_RUBY_FEATURES=  iconv
RUBYGEM_AUTOPLIST=  yes

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>