1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # $OpenBSD: Makefile,v 1.30 2016/09/06 11:27:26 jasper Exp $
- PORTROACH= limit:^1
- COMMENT= simple pluggable hierarchical database
- V= 1.3.4
- DISTNAME= hiera-${V}
- REVISION= 4
- 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} \
- devel/ruby-json_pure,${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
- ${INSTALL_DATA} ${FILESDIR}/hiera.yaml \
- ${PREFIX}/${MODRUBY_RELEXAMPLEDIR}-hiera
- .include <bsd.port.mk>
|