forked from Lainports/freebsd-ports
it's primary purpose is to provide node data to Chef. Ohai will print out a JSON data blob for all the known data about your system. When used with Chef, that data is reported back via node attributes. WWW: http://wiki.opscode.com/display/ohai/Home PR: ports/145850 Submitted by: Renaud Chaput <renchap at cocoa-x.com>
33 lines
922 B
Makefile
33 lines
922 B
Makefile
# Ports collection makefile for: rubygem-ohai
|
|
# Date created: 18 Mar 2010
|
|
# Whom: Renaud Chaput <renchap@cocoa-x.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ohai
|
|
PORTVERSION= 0.5.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://gemcutter.org/gems/
|
|
|
|
MAINTAINER= renchap@cocoa-x.com
|
|
COMMENT= Ohai profiles your system and emits JSON
|
|
|
|
BUILD_DEPENDS= rubygem-mixlib-log>=1.1.0:${PORTSDIR}/devel/rubygem-mixlib-log \
|
|
rubygem-mixlib-config>=1.1.0:${PORTSDIR}/devel/rubygem-mixlib-config \
|
|
rubygem-mixlib-cli>=1.1.0:${PORTSDIR}/devel/rubygem-mixlib-cli \
|
|
rubygem-systemu>=1.2.0:${PORTSDIR}/devel/rubygem-systemu \
|
|
rubygem-extlib>=0.9.14:${PORTSDIR}/devel/rubygem-extlib \
|
|
rubygem-json>=1.1.9:${PORTSDIR}/devel/rubygem-json
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
|
|
PLIST_FILES= bin/ohai
|
|
|
|
# we care about not passing -A to allow HTTP redirects
|
|
FETCH_ARGS= -pRr
|
|
|
|
.include <bsd.port.mk>
|