pkgsrc/sysutils/fluent-bit/Makefile
rillig 9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2020/01/26 17:32:09 rillig 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= https://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
USE_FEATURES+= strnlen
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"