pkgsrc/sysutils/fluent-bit/Makefile
minskim 66d89c9a56 sysutils/fluent-bit: Import version 0.13.2
Fluent Bit is a Data Forwarder for Linux, Embedded Linux, OSX and BSD
family operating systems. It's part of the Fluentd Ecosystem. Fluent
Bit allows collection of information from different sources, buffering
and dispatching them to different outputs such as Fluentd,
Elasticsearch, Nats or any HTTP end-point within others. It's fully
supported on x86_64, x86 and ARM architectures.
2018-06-17 16:33:35 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2018/06/17 16:33:35 minskim Exp $
DISTNAME= fluent-bit-0.13.2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=fluent/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://fluentbit.io/
COMMENT= Fast and lightweight log processor and forwarder
LICENSE= apache-2.0
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
CMAKE_ARGS+= -DCMAKE_INSTALL_SYSCONFDIR=${PKG_SYSCONFDIR}
CMAKE_ARGS+= -DEGDIR:PATH=${EGDIR}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/fluent-bit.conf \
${PKG_SYSCONFDIR}/${PKGBASE}/fluent-bit.conf
CONF_FILES+= ${EGDIR}/parsers.conf \
${PKG_SYSCONFDIR}/${PKGBASE}/parsers.conf
BUILDLINK_TRANSFORM+= l:msgpackc-static:msgpackc
INSTALLATION_DIRS+= include/monkey include/jsmn
.include "../../devel/msgpack/buildlink3.mk"
post-install:
${INSTALL_DATA} ${WRKSRC}/lib/monkey/include/monkey/mk_core.h \
${DESTDIR}${PREFIX}/include/monkey/
${INSTALL_DATA} ${WRKSRC}/lib/jsmn/jsmn.h ${DESTDIR}${PREFIX}/include/
.include "../../mk/bsd.pkg.mk"