a798515415
Changes: https://github.com/rust-lang/rust/releases/tag/1.49.0 Tested by: mikael, pkubaj Differential Revision: https://reviews.freebsd.org/D27940
39 lines
835 B
Makefile
39 lines
835 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= jail_exporter
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.13.0
|
|
PORTREVISION= 2
|
|
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
|
|
|
|
# This Makefile contains the CARGO_CRATES section.
|
|
.include "Makefile.crates"
|
|
|
|
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>
|