blob: 1daa31df56643d6227b3c3e64e0837a3e25a3100 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
PORTNAME= vmutils
PORTREVISION= 4
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"
|