mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
42 lines
987 B
Makefile
42 lines
987 B
Makefile
COMMENT = fast and easy-to-use, open source logs solution
|
|
|
|
V = 1.23.3
|
|
|
|
DIST_TUPLE += github VictoriaMetrics VictoriaMetrics v${V}-victorialogs . # Apache License 2.0
|
|
|
|
PKGNAME = victorialogs-${V}
|
|
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = https://victoriametrics.com/products/victorialogs/
|
|
|
|
MAINTAINER = Denis Fondras <denis@openbsd.org>
|
|
|
|
# Apache License 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = c pthread
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
MODULES = lang/go
|
|
MODGO_GOPATH = ${MODGO_WORKSPACE}
|
|
MODGO_GO111MODULE = auto
|
|
SUBST_VARS = LOCALSTATEDIR
|
|
NO_TEST = Yes
|
|
|
|
MAKE_ENV += MAKE_CONCURRENCY=1
|
|
MAKE_ENV += BUILDINFO_TAG=tags-v${V} \
|
|
PKG_TAG=tags-v${V}
|
|
|
|
ALL_TARGET = github.com/VictoriaMetrics/VictoriaMetrics
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && GOOS=openbsd ${MAKE_ENV} ${MAKE_PROGRAM} victoria-logs-pure vlogscli-pure
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/victoria-logs-pure ${PREFIX}/bin/victoria-logs
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/vlogscli-pure ${PREFIX}/bin/vlogscli
|
|
|
|
.include <bsd.port.mk>
|