c51afc2004
Release notes: https://puppet.com/docs/puppet/7/release_notes_facter.html#release_notes_facter_4-2-3 With hat: puppet
28 lines
716 B
Makefile
28 lines
716 B
Makefile
# Created by: Tomoyuki Sakurai <cherry@trombik.org>
|
|
|
|
PORTNAME= facter
|
|
PORTVERSION= 4.2.3
|
|
CATEGORIES= sysutils rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= puppet@FreeBSD.org
|
|
COMMENT= Cross-platform Ruby library for retrieving facts from OS
|
|
|
|
LICENSE= APACHE20
|
|
|
|
# rubygem-ffi is a soft dependency, but is used on FreeBSD to resolve some facts
|
|
RUN_DEPENDS= rubygem-ffi>=1.0:devel/rubygem-ffi \
|
|
rubygem-hocon>=1.3:devel/rubygem-hocon \
|
|
rubygem-thor>=1.0.1:devel/rubygem-thor
|
|
|
|
USES= gem
|
|
USE_RUBY= yes
|
|
|
|
PLIST_FILES= bin/facter ${GEMS_DIR}/facter
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
${RLN} ${STAGEDIR}/${PREFIX}/${GEMS_DIR}/facter-${PORTVERSION} ${STAGEDIR}/${PREFIX}/${GEMS_DIR}/facter
|
|
|
|
.include <bsd.port.post.mk>
|