Files
ports/sysutils/ruby-openfact/Makefile
T
kn 8f5f430cfb drop ruby version suffix from openfact's binary to resolve facter conflict
no other file conflicts between the two ports and puppet/openvox use the
ruby gems directly, i.e. they do not depend on the standalone program.

this fixes bulk builds in which openvox's dependency on openfact could
not be satisfied when facter was already installed (same would happen
for puppet with openfact installed).

input OK aja sthen
2025-09-22 21:51:42 +00:00

26 lines
556 B
Makefile

COMMENT = system inventory tool
DISTNAME = openfact-5.1.0
REVISION = 1
CATEGORIES = sysutils
HOMEPAGE = https://github.com/OpenVoxProject/openfact/
MAINTAINER = Klemens Nanni <kn@openbsd.org>
# Apache 2.0
PERMIT_PACKAGE = Yes
MODULES = lang/ruby
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = devel/ruby-ffi,${MODRUBY_FLAVOR}>=1.15.5 \
devel/ruby-hocon,${MODRUBY_FLAVOR}>=1.3 \
devel/ruby-thor,${MODRUBY_FLAVOR}>=1.0.1
CONFIGURE_STYLE = ruby gem
post-install:
mv ${PREFIX}/${GEM_BIN}/facter{${GEM_BIN_SUFFIX},}
.include <bsd.port.mk>