34 lines
790 B
Makefile
34 lines
790 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= facter
|
|
PORTVERSION= 3.1.3
|
|
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:${PORTSDIR}/devel/boost-libs \
|
|
libyaml-cpp.so:${PORTSDIR}/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>
|