openbsd-ports/sysutils/ruby-facter/Makefile
sebastia 922781c4e2 case insensitve OS matching to make it work with jruby
missed from the original upstream patch
2023-01-22 19:21:56 +00:00

27 lines
628 B
Makefile

COMMENT = Puppet module management
DISTNAME = facter-4.2.14
REVISION = 0
CATEGORIES = sysutils
HOMEPAGE = https://github.com/puppetlabs/facter
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
# Apache 2.0
PERMIT_PACKAGE = Yes
MODULES = lang/ruby
BUILD_DEPENDS += ${RUN_DEPENDS}
RUN_DEPENDS += devel/ruby-ffi,${MODRUBY_FLAVOR} \
devel/ruby-hocon,${MODRUBY_FLAVOR}>=1.3,<2 \
devel/ruby-thor,${MODRUBY_FLAVOR}>=1.0.1,<2
CONFIGURE_STYLE = ruby gem
post-patch:
cp -r ${FILESDIR}/facts ${WRKSRC}/lib/facter/facts/openbsd
cp -r ${FILESDIR}/resolvers ${WRKSRC}/lib/facter/resolvers/openbsd
.include <bsd.port.mk>