49 lines
1.0 KiB
Makefile
49 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2013/03/14 07:58:08 ajacoutot Exp $
|
|
|
|
COMMENT= framework for server orchestration/parallel job execution
|
|
|
|
DISTNAME= mcollective-2.3.0
|
|
EXTRACT_SUFX= .tgz
|
|
REVISION= 1
|
|
|
|
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
|
|
|
|
# only supports ruby 1.8 for now
|
|
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
|
|
perl -pi -e 's,/etc,${SYSCONFDIR},g;' \
|
|
-e 's,/usr/libexec,${TRUEPREFIX}/libexec,g' \
|
|
${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>
|