Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.44 2017/05/14 21:24:13 sebastia Exp $
  2. BROKEN-alpha= SIGABRT during make fake
  3. COMMENT= framework for server orchestration/parallel job execution
  4. DISTNAME= mcollective-2.10.4
  5. CATEGORIES= sysutils
  6. HOMEPAGE= http://www.puppetlabs.com/mcollective
  7. MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>
  8. # Apache 2.0
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= http://downloads.puppetlabs.com/mcollective/
  11. MODULES= lang/ruby
  12. NO_BUILD= Yes
  13. BUILD_DEPENDS= lang/ruby/${MODRUBY_REV}
  14. RUN_DEPENDS= net/ruby-stomp,${MODRUBY_FLAVOR}>=1.3.4
  15. PKG_ARCH= *
  16. NO_TEST= Yes
  17. SUBST_VARS += RUBY
  18. MODRUBY_ADJ_FILES=mco mcollectived
  19. pre-configure:
  20. ${SUBST_CMD} ${WRKSRC}/ext/Makefile \
  21. ${WRKSRC}/etc/server.cfg.dist \
  22. ${WRKSRC}/etc/client.cfg.dist \
  23. do-install:
  24. cd ${WRKSRC} && ${ALL_FAKE_FLAGS} ${RUBY} install.rb \
  25. --no-rdoc \
  26. --destdir=${WRKINST} \
  27. --plugindir=${TRUEPREFIX}/libexec/mcollective/
  28. mv ${WRKINST}${SYSCONFDIR}/mcollective \
  29. ${PREFIX}/${MODRUBY_RELEXAMPLEDIR}-mcollective/
  30. .include <bsd.port.mk>