c916943c45
v1.3.0 - Oct 15, 2020 - Add HTTPSTAT_METRICS_ONLY env. If set to true, httpstat will only output metrics in json format, this is useful if you want to parse the data instead of reading it.
22 lines
529 B
Makefile
22 lines
529 B
Makefile
# $NetBSD: Makefile,v 1.4 2021/10/18 08:22:42 tm Exp $
|
|
|
|
DISTNAME= httpstat-1.3.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=reorx/}
|
|
GITHUB_TAG= ${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/reorx/httpstat
|
|
COMMENT= Visualise curl(1) statistics
|
|
LICENSE= mit
|
|
|
|
REPLACE_PYTHON= httpstat.py
|
|
NO_BUILD= yes
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/httpstat.py ${DESTDIR}${PREFIX}/bin/httpstat
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|