openbsd-ports/net/nyx/Makefile
2022-11-13 19:37:40 +00:00

34 lines
603 B
Makefile

COMMENT = terminal status monitor for Tor
MODPY_EGG_VERSION = 2.1.0
DISTNAME = nyx-${MODPY_EGG_VERSION}
REVISION = 4
CATEGORIES = net
HOMEPAGE = https://nyx.torproject.org
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
# GPLv3
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PYBUILD = setuptools
MODPY_PI = Yes
BUILD_DEPENDS = net/py-stem${MODPY_FLAVOR}
RUN_DEPENDS = net/py-stem${MODPY_FLAVOR}
pre-configure:
${SUBST_CMD} ${WRKSRC}/nyx.1
post-install:
${INSTALL_MAN} ${WRKSRC}/nyx.1 ${PREFIX}/man/man1
do-test:
cd ${WRKSRC} && ${MODPY_BIN} run_tests.py
.include <bsd.port.mk>