blob: dedf7d109045a03fc9fe46347bc9f09f3d9a7c18 (
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
29
30
31
32
33
|
# Created by: Tomoyuki Sakurai <cherry@trombik.org>
PORTNAME= facter
PORTVERSION= 4.2.6
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<2:devel/rubygem-hocon \
rubygem-thor>=1.0.1<2.0:devel/rubygem-thor
USES= cpe gem
CPE_VENDOR= puppet
USE_RUBY= yes
CONFLICTS_INSTALL= facter # bin/facter
NO_ARCH= 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>
|