The FreeBSD port for prometheus_poudriere
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

32 lines
1.0 KiB

# $FreeBSD$
PORTNAME= prometheus_poudriere
DISTVERSION= 0.0.0
CATEGORIES= net-mgmt
MASTER_SITES= https://rnd.phryk.net/phryk-evil-mad-sciences-llc/${PORTNAME}/archive/
DISTFILES= ${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= phryk-ports@wzff.de
COMMENT= Prometheus exporter for ports-mgmt/poudriere
LICENSE= GPLv3
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}docopt>0:devel/py-docopt@${PY_FLAVOR}
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}docopt>0:devel/py-docopt@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}
USES= python:3.6+ shebangfix
USE_PYTHON= distutils autoplist
SHEBANG_FILES= bin/${PORTNAME}
USE_RC_SUBR= ${PORTNAME}
EXTRACT_AFTER_ARGS+= -C src
WRKSRC= ${WRKDIR}/src/${PORTNAME}
pre-extract:
${MKDIR} ${WRKDIR}/src
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${LOCALBASE}/bin/
.include <bsd.port.mk>