PORTNAME= carp_exporter DISTVERSIONPREFIX= v DISTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://git.nosd.in/yo/carp_exporter/archive/ DISTNAME= ${DISTVERSIONPREFIX}${DISTVERSION} MAINTAINER= johan@nosd.in COMMENT= Export CARP status in Prometheus format LICENSE= BSD2CLAUSE USES= shebangfix python SHEBANG_FILES= *.py # Gitea packaging need some tweaks WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} EXTRACT_AFTER_ARGS= && ( [ -d ${PORTNAME} ] && ${MV} ${PORTNAME} ${PORTNAME}-${DISTVERSION} ) USERS= nobody GROUPS= nobody NO_BUILD= YES NO_TEST= YES USE_RC_SUBR= carp_exporter do-install: ${INSTALL_SCRIPT} ${WRKSRC}/carp_exporter.py ${STAGEDIR}${PREFIX}/bin .include