blob: b4b9bf24241023a0341bebf85724760273406b06 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Created by: Tomoyuki Sakurai <cherry@trombik.org>
PORTNAME= facter
PORTVERSION= 4.0.52
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>
|