1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # $OpenBSD: Makefile,v 1.16 2017/05/10 10:46:05 sebastia Exp $
- COMMENT= simple pluggable hierarchical database
- V= 3.3.1
- DISTNAME= hiera-${V}
- PKGNAME= hiera3-${V}
- CATEGORIES= databases
- HOMEPAGE= http://projects.puppetlabs.com/projects/hiera
- MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>
- # Apachev2
- PERMIT_PACKAGE_CDROM= Yes
- MODULES= lang/ruby
- CONFIGURE_STYLE= ruby gem
- BUILD_DEPENDS= ${RUN_DEPENDS}
- RUN_DEPENDS= devel/ruby-deep_merge,${MODRUBY_FLAVOR}
- TEST_DEPENDS= devel/ruby-mocha,${MODRUBY_FLAVOR}
- MODRUBY_TEST= rspec3
- pre-configure:
- sed -i 's,/var/lib,/var/db,g' \
- ${WRKSRC}/lib/hiera/backend.rb \
- ${WRKSRC}/lib/hiera/util.rb \
- ${WRKSRC}/spec/unit/util_spec.rb \
- ${WRKSRC}/README.md
- post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/${MODRUBY_RELEXAMPLEDIR}-hiera
- ${SUBST_CMD} -m 444 -c ${FILESDIR}/hiera.yaml \
- ${PREFIX}/${MODRUBY_RELEXAMPLEDIR}-hiera/hiera.yaml
- .include <bsd.port.mk>
|