blob: 2535b1a45b7ac3c99bfdbb005d206920539e5aae (
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
|
PORTNAME= ipmi_exporter
DISTVERSIONPREFIX= v
DISTVERSION= 1.8.0
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= meka@tilda.center
COMMENT= IPMI exporter for Prometheus
WWW= https://github.com/prometheus-community/ipmi_exporter
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libfreeipmi.so:sysutils/freeipmi
USES= go:modules
USE_RC_SUBR= ${PORTNAME}
GO_MODULE= github.com/prometheus-community/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
etc/${PORTNAME}/ipmi_local.yml.sample \
etc/${PORTNAME}/ipmi_remote.yml.sample
post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/ipmi_local.yml ${STAGEDIR}${ETCDIR}/ipmi_local.yml.sample
${INSTALL_DATA} ${WRKSRC}/ipmi_remote.yml ${STAGEDIR}${ETCDIR}/ipmi_remote.yml.sample
.include <bsd.port.mk>
|