Makefile 970 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # $OpenBSD: Makefile,v 1.30 2016/09/06 11:27:26 jasper Exp $
  2. PORTROACH= limit:^1
  3. COMMENT= simple pluggable hierarchical database
  4. V= 1.3.4
  5. DISTNAME= hiera-${V}
  6. REVISION= 4
  7. CATEGORIES= databases
  8. HOMEPAGE= http://projects.puppetlabs.com/projects/hiera
  9. MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>
  10. # Apachev2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. MODULES= lang/ruby
  13. CONFIGURE_STYLE= ruby gem
  14. BUILD_DEPENDS= ${RUN_DEPENDS}
  15. RUN_DEPENDS= devel/ruby-deep_merge,${MODRUBY_FLAVOR} \
  16. devel/ruby-json_pure,${MODRUBY_FLAVOR}
  17. TEST_DEPENDS= devel/ruby-mocha,${MODRUBY_FLAVOR}
  18. MODRUBY_TEST= rspec3
  19. pre-configure:
  20. sed -i 's,/var/lib,/var/db,g' \
  21. ${WRKSRC}/lib/hiera/backend.rb \
  22. ${WRKSRC}/lib/hiera/util.rb \
  23. ${WRKSRC}/spec/unit/util_spec.rb \
  24. ${WRKSRC}/README.md
  25. post-install:
  26. ${INSTALL_DATA_DIR} ${PREFIX}/${MODRUBY_RELEXAMPLEDIR}-hiera
  27. ${INSTALL_DATA} ${FILESDIR}/hiera.yaml \
  28. ${PREFIX}/${MODRUBY_RELEXAMPLEDIR}-hiera
  29. .include <bsd.port.mk>