# Created by: Palle Girgensohn <girgen@FreeBSD.org>
# $FreeBSD: head/sysutils/fluent-bit/Makefile 455765 2017-12-08 01:46:00Z linimon $

PORTNAME=	fluent-bit
DISTVERSION=	0.11.6
CATEGORIES=	sysutils
MASTER_SITES=   http://fluentbit.io/releases/${DISTVERSION:R}/

MAINTAINER=	girgen@FreeBSD.org
COMMENT=	Fast and lightweight data forwarder

LICENSE=	APACHE20

BROKEN_aarch64=		fails to build: error: unknown type name thread_local
BROKEN_mips=		fails to build: conflicting types for 'restrict'
BROKEN_mips64=		fails to build: conflicting types for 'restrict'
BROKEN_powerpc64=	fails to build: cast from pointer to integer of different size

USES=		cmake:noninja

USE_RC_SUBR=	${PORTNAME}

post-install:
	${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
	${MV} ${STAGEDIR}${ETCDIR}/parsers.conf ${STAGEDIR}${ETCDIR}/parsers.conf.sample

.include <bsd.port.mk>
