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"