aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/facter/Makefile
blob: d89dd4d7a70a1ef4db9f68bb97062d6beb97ba39 (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
34
35
# $FreeBSD$

PORTNAME=   facter
PORTVERSION=    3.1.3
PORTREVISION=   6
CATEGORIES= sysutils
MASTER_SITES=   http://downloads.puppetlabs.com/facter/

MAINTAINER= ruby@FreeBSD.org
COMMENT=    Cross-platform library for retrieving facts from OS

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libboost_system.so:devel/boost-libs \
        libyaml-cpp.so:devel/yaml-cpp

PLIST_SUB+= PORTVERSION="${PORTVERSION}"

USE_LDCONFIG=   yes
USE_RUBY=   yes
USES=   cmake compiler:c++11-lib
CMAKE_ARGS+=    -DMAN_PATH=${MANPREFIX}/man

CONFLICTS_INSTALL=  rubygem-facter-2*

BROKEN_DragonFly=   DragonFly is not supported upstream

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ${COMPILER_FEATURES:Mlibstdc++}
BROKEN=     Build with system libstdc++ is unsupported
.endif

.include <bsd.port.post.mk>