Edit

IABSD.fr/ports/net/nyx/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2024-12-21 11:38:32
    Hash : a4770540
    Message : handle py3.12 switchover in net

  • net/nyx/Makefile
  • COMMENT =		terminal status monitor for Tor
    
    MODPY_DISTV =	2.1.0
    DISTNAME =		nyx-${MODPY_DISTV}
    REVISION =		7
    
    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
    RUN_DEPENDS =		net/py-stem
    
    
    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>