57 lines
1.8 KiB
Makefile
57 lines
1.8 KiB
Makefile
# Created by: Renaud Chaput <renchap@cocoa-x.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= chef
|
|
PORTVERSION= 11.4.4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= renchap@cocoa-x.com
|
|
COMMENT= A systems integration framework. Client part
|
|
|
|
RUN_DEPENDS= rubygem-erubis>=0:${PORTSDIR}/www/rubygem-erubis \
|
|
rubygem-highline>=1.6.9:${PORTSDIR}/devel/rubygem-highline \
|
|
rubygem-json>=1.4.4:${PORTSDIR}/devel/rubygem-json146 \
|
|
rubygem-mixlib-authentication>=1.3.0:${PORTSDIR}/devel/rubygem-mixlib-authentication \
|
|
rubygem-mixlib-cli>=1.3.0:${PORTSDIR}/devel/rubygem-mixlib-cli \
|
|
rubygem-mixlib-config>=1.1.2:${PORTSDIR}/devel/rubygem-mixlib-config \
|
|
rubygem-mixlib-log>=1.3.0:${PORTSDIR}/devel/rubygem-mixlib-log \
|
|
rubygem-mixlib-shellout>=1.0.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>=0.6.0:${PORTSDIR}/sysutils/rubygem-ohai \
|
|
rubygem-rest-client>=1.0.4:${PORTSDIR}/www/rubygem-rest-client \
|
|
rubygem-yajl-ruby>=1.1.0:${PORTSDIR}/devel/rubygem-yajl-ruby
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
USE_RUBY_FEATURES= iconv
|
|
RUBYGEM_AUTOPLIST= yes
|
|
|
|
PLIST_FILES= bin/chef-client \
|
|
bin/chef-solo \
|
|
bin/shef \
|
|
bin/knife \
|
|
bin/chef-apply \
|
|
bin/chef-shell
|
|
|
|
MAN1= knife.1 knife-bootstrap.1 knife-client.1 knife-configure.1 knife-cookbook.1 \
|
|
knife-cookbook-site.1 knife-data-bag.1 knife-environment.1 knife-exec.1 \
|
|
knife-index.1 knife-node.1 knife-role.1 knife-search.1 knife-ssh.1 knife-status.1 \
|
|
knife-tag.1
|
|
MAN8= chef-client.8 chef-solo.8
|
|
|
|
SUB_LIST= RUBY=${RUBY}
|
|
USE_RC_SUBR= chef_client
|
|
|
|
NO_STAGE= yes
|
|
post-install:
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
.for n in 1 8
|
|
.for f in ${MAN${n}}
|
|
${INSTALL_DATA} ${PREFIX}/${GEM_LIB_DIR}/distro/common/man/man${n}/${f} ${PREFIX}/man/man${n}
|
|
.endfor
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|