mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
b7932af8f5
Reported by: portscout
28 lines
695 B
Makefile
28 lines
695 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
|
|
PORTNAME= vmutils
|
|
|
|
COMMENT= Ancillary utilities and agent for VictoriaMetrics
|
|
|
|
USE_RC_SUBR= vmagent
|
|
|
|
DESCR= ${.CURDIR}/pkg-descr
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
do-install:
|
|
.for p in agent alert auth backup ctl restore
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/vm${p}-pure \
|
|
${STAGEDIR}${PREFIX}/bin/vm${p}
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/prometheus
|
|
${INSTALL_DATA} ${FILESDIR}/prometheus.yml.sample \
|
|
${STAGEDIR}${PREFIX}/etc/prometheus
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${INSTALL_WRKSRC}/docs/vm* ${STAGEDIR}${DOCSDIR}
|
|
|
|
MASTERDIR= ${.CURDIR}/../victoria-metrics
|
|
|
|
.include "${MASTERDIR}/Makefile"
|