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