openbsd-ports/sysutils/mcollective/Makefile
jeremy ac78ad4e83 Make ruby 1.9 the default ruby for non-gem/extconf ports,
for consistency with the gem/extconf ports.

Update non-gem/extconf ports that relied on the previous
default of ruby 1.8 to explicitly specify it.

OK ajacoutot@
2013-03-20 19:13:50 +00:00

45 lines
907 B
Makefile

# $OpenBSD: Makefile,v 1.10 2013/03/20 19:13:50 jeremy Exp $
COMMENT= framework for server orchestration/parallel job execution
DISTNAME= mcollective-2.3.0
EXTRACT_SUFX= .tgz
REVISION= 3
CATEGORIES= sysutils
HOMEPAGE= http://www.puppetlabs.com/mcollective
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# Apache 2.0
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://downloads.puppetlabs.com/mcollective/
MODULES= lang/ruby
MODRUBY_REV= 1.8
RUN_DEPENDS= net/ruby-stomp,${MODRUBY_FLAVOR}
PKG_ARCH= *
NO_BUILD= Yes
NO_TEST= Yes
SUBST_VARS += RUBY
MODRUBY_ADJ_FILES=mco mcollectived mc-call-agent
MAKE_FILE= ext/Makefile
pre-configure:
${SUBST_CMD} ${WRKSRC}/ext/Makefile \
${WRKSRC}/etc/server.cfg.dist \
${WRKSRC}/etc/client.cfg.dist \
post-install:
chown -R ${SHAREOWN}:${SHAREGRP} \
${PREFIX}/{libexec,share/doc}/mcollective \
${PREFIX}/${MODRUBY_SITEDIR}
.include <bsd.port.mk>