45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.56 2019/07/12 20:49:46 sthen Exp $
|
|
|
|
BROKEN-alpha= SIGABRT during make fake
|
|
COMMENT= framework for server orchestration/parallel job execution
|
|
DISTNAME= mcollective-2.12.4
|
|
REVISION= 0
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
HOMEPAGE= https://puppet.com/docs/mcollective/current/index.html
|
|
|
|
MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
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.4.4
|
|
|
|
PKG_ARCH= *
|
|
NO_TEST= Yes
|
|
SUBST_VARS += RUBY
|
|
|
|
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 \
|
|
--no-rdoc \
|
|
--destdir=${WRKINST} \
|
|
--plugindir=${TRUEPREFIX}/libexec/mcollective/
|
|
mv ${WRKINST}${SYSCONFDIR}/mcollective \
|
|
${PREFIX}/${MODRUBY_RELEXAMPLEDIR}-mcollective/
|
|
|
|
.include <bsd.port.mk>
|