prometheus_poudriere_port/Makefile
2021-06-15 16:41:17 +02:00

33 lines
1.0 KiB
Makefile

# $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>