blob: 8f308b7b3e9eeaff9927387dd0658a64fc4262f8 (
plain) (
tree)
|
|
PORTNAME= quickwit
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.3
PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= ashish@FreeBSD.org
COMMENT= Sub-second search & analytics engine on cloud storage
WWW= https://quickwit.io/
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE_AGPLv3.0.txt
BUILD_DEPENDS= ${LOCALBASE}/bin/protoc:devel/protobuf
LIB_DEPENDS= libonig.so:devel/oniguruma \
libzstd.so:archivers/zstd
USES= cargo pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= quickwit-oss
CARGO_CARGOLOCK= ${WRKSRC}/${PORTNAME}/Cargo.lock
CARGO_CARGOTOML= ${WRKSRC}/${PORTNAME}/Cargo.toml
CARGO_INSTALL_PATH= ${PORTNAME}/quickwit-cli
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT= DOCS
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/config/quickwit.yaml ${STAGEDIR}${ETCDIR}/quickwit.yaml.sample
${RM} -v ${STAGEDIR}${PREFIX}/bin/generate_markdown
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|