First commit
This commit is contained in:
31
Makefile
Normal file
31
Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
PORTNAME= carp_exporter
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.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 <bsd.port.mk>
|
Reference in New Issue
Block a user