blob: 6338f352631b820c7ce41c4c7ebdd801ff27f7b8 (
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
|
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"
|