1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/sysutils/rubygem-chef12/Makefile

75 lines
2.7 KiB
Makefile

# Created by: Renaud Chaput <renchap@cocoa-x.com>
# $FreeBSD$
PORTNAME= chef
PORTVERSION= 12.22.5
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= RG
PKGNAMESUFFIX= 12
MAINTAINER= ruby@FreeBSD.org
COMMENT= Systems integration framework. Client part
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
DEPRECATED= Please use sysutils/rubygem-chef instead
BROKEN= Please use sysutils/rubygem-chef instead
EXPIRATION_DATE= 2021-01-31
RUN_DEPENDS= rubygem-addressable>=0:www/rubygem-addressable \
rubygem-bundler>=1.10:sysutils/rubygem-bundler \
rubygem-chef-config12=${PORTVERSION}:sysutils/rubygem-chef-config12 \
rubygem-chef-zero>=4.8<13:sysutils/rubygem-chef-zero \
rubygem-diff-lcs>=1.2.4<2:textproc/rubygem-diff-lcs \
rubygem-erubis>=2.7<3:www/rubygem-erubis \
rubygem-ffi-yajl>=2.2<3:devel/rubygem-ffi-yajl \
rubygem-highline1>=1.6.9<2:devel/rubygem-highline1 \
rubygem-iniparse>=1.4<2:devel/rubygem-iniparse \
rubygem-mixlib-archive>=0.4<1:devel/rubygem-mixlib-archive \
rubygem-mixlib-authentication>=1.4<2:devel/rubygem-mixlib-authentication \
rubygem-mixlib-cli>=1.7<2:devel/rubygem-mixlib-cli \
rubygem-mixlib-log>=1.3<2:devel/rubygem-mixlib-log \
rubygem-mixlib-shellout>=2.0<3:devel/rubygem-mixlib-shellout \
rubygem-net-sftp>=2.1.2<3:security/rubygem-net-sftp \
rubygem-net-ssh4>=2.9,2<5.0,2:security/rubygem-net-ssh4 \
rubygem-net-ssh-multi>=1.2.1<2:security/rubygem-net-ssh-multi \
rubygem-ohai8>=8.6.0<13:sysutils/rubygem-ohai8 \
rubygem-plist>=3.2<4:devel/rubygem-plist \
rubygem-proxifier>=1.0<2:net/rubygem-proxifier \
rubygem-rspec-core>=3.5<4:devel/rubygem-rspec-core \
rubygem-rspec-expectations>=3.5<4:devel/rubygem-rspec-expectations \
rubygem-rspec_junit_formatter>=0.2<1:devel/rubygem-rspec_junit_formatter \
rubygem-rspec-mocks>=3.5<4:devel/rubygem-rspec-mocks \
rubygem-serverspec>=2.7<3:sysutils/rubygem-serverspec \
rubygem-specinfra>=2.10<3:sysutils/rubygem-specinfra \
rubygem-syslog-logger>=1.6<2:sysutils/rubygem-syslog-logger \
rubygem-uuidtools>=2.1.5<2.2:devel/rubygem-uuidtools
USES= gem python:env shebangfix
USE_RUBY= yes
NO_ARCH= yes
CONFLICTS_INSTALL= rubygem-chef \
rubygem-chef[0-9]*
SUB_LIST= RUBY=${RUBY}
USE_RC_SUBR= chef_client
SHEBANG_FILES= spec/functional/assets/chefinittest \
spec/functional/assets/testchefsubsys \
lib/chef/provider/package/dnf/dnf_helper.py \
tasks/bin/run_external_test
post-patch:
@${REINPLACE_CMD} -e '1d' ${WRKSRC}/spec/data/apt/chef-integration-test*/debian/rules
post-install:
${INSTALL_MAN} ${WRKSRC}/distro/common/man/man1/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/distro/common/man/man8/*.8 ${STAGEDIR}${MANPREFIX}/man/man8/
${MKDIR} ${STAGEDIR}/var/chef
.include <bsd.port.mk>