403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/facter/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/facter/Makefile
PORTNAME=	facter
PORTVERSION=	3.14.24
PORTREVISION=	1
CATEGORIES?=	sysutils
MASTER_SITES=	https://downloads.puppetlabs.com/facter/

MAINTAINER=	puppet@FreeBSD.org
COMMENT=	Cross-platform library for retrieving facts from OS
WWW=		https://puppetlabs.com/facter

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_DragonFly=	DragonFly is not supported upstream

LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
		libcurl.so:ftp/curl \
		libleatherman_locale.so:devel/leatherman \
		liblibcpp-hocon.so:devel/cpp-hocon \
		libyaml-cpp.so:devel/yaml-cpp

CONFLICTS_INSTALL=	rubygem-facter

PLIST_SUB=	PORTVERSION="${PORTVERSION}"

USES=		cmake:noninja compiler:c++11-lib cpe ssl
CPE_VENDOR=	puppet
USE_LDCONFIG=	yes
USE_RUBY=	yes
CMAKE_ARGS+=	-DMAN_PATH=${MANPREFIX}/man
CMAKE_OFF=	ENABLE_CXX_WERROR

OPTIONS_DEFINE=	FACTER_JAVA
FACTER_JAVA_DESC=	Build with Java bindings for puppetserver
FACTER_JAVA_USE=	java=yes
FACTER_JAVA_VARS=	JAVA_BUILD=yes
FACTER_JAVA_CMAKE_ON=	-DJAVA_HOME=${JAVA_HOME}

OPTIONS_DEFAULT=	FACTER_JAVA

OPTIONS_SUB=	yes

.include <bsd.port.options.mk>

post-patch:
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
		${WRKSRC}/lib/src/facts/posix/collection.cc \
		${WRKSRC}/lib/src/util/config/posix/config.cc

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER}/specifications
	${INSTALL_DATA} ${WRKSRC}/.gemspec ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER}/specifications/${DISTNAME}.gemspec

test: build
	cd ${WRKSRC}/lib && bundle install --path vendor
	cd ${CONFIGURE_WRKSRC} && ${MAKE_CMD} test

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit