blob: 6f8297dc619583974e300e994568b787d5e2f86c (
plain)
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
27
28
29
30
31
32
33
|
PORTNAME= jail_exporter
DISTVERSIONPREFIX= v
DISTVERSION= 0.15.1
PORTREVISION= 4
CATEGORIES= sysutils
MAINTAINER= dor.bsd@xm0.uk
COMMENT= Prometheus exporter for FreeBSD jail metrics
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= phyber
USE_RC_SUBR= jail_exporter
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.8 \
${STAGEDIR}${MANPREFIX}/man/man8
${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \
${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in CHANGELOG.md README.md
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|