openbsd-ports/sysutils/mcollective/Makefile

44 lines
993 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.26 2014/09/27 17:08:47 jeremy Exp $
COMMENT= framework for server orchestration/parallel job execution
2014-08-31 10:56:51 -04:00
DISTNAME= mcollective-2.6.0
REVISION= 0
CATEGORIES= sysutils
HOMEPAGE= http://www.puppetlabs.com/mcollective
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
2013-03-13 09:33:51 -04:00
# Apache 2.0
PERMIT_PACKAGE_CDROM= Yes
2013-03-13 09:33:51 -04:00
MASTER_SITES= http://downloads.puppetlabs.com/mcollective/
MODULES= lang/ruby
NO_BUILD= Yes
BUILD_DEPENDS= lang/ruby/${MODRUBY_REV}
RUN_DEPENDS= net/ruby-stomp,${MODRUBY_FLAVOR}>=1.3.2
PKG_ARCH= *
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
SUBST_VARS += RUBY
2014-05-19 06:22:30 -04:00
MODRUBY_ADJ_FILES=mco mcollectived
pre-configure:
${SUBST_CMD} ${WRKSRC}/ext/Makefile \
${WRKSRC}/etc/server.cfg.dist \
${WRKSRC}/etc/client.cfg.dist \
do-install:
@cd ${WRKSRC} && ${ALL_FAKE_FLAGS} ${RUBY} install.rb \
--destdir=${DESTDIR} \
--plugindir=${TRUEPREFIX}/libexec/mcollective/
mv ${WRKINST}${SYSCONFDIR}/mcollective \
${PREFIX}/${MODRUBY_RELEXAMPLEDIR}-mcollective/
.include <bsd.port.mk>