# Created by: Sofian Brabez # $FreeBSD: head/devel/py-setproctitle/Makefile 559531 2020-12-28 23:02:12Z antoine $ PORTNAME= setproctitle PORTVERSION= 1.1.10 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sbz@FreeBSD.org COMMENT= Python module to customize the process title LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils PORTDOCS= HISTORY.rst README.rst OPTIONS_DEFINE= DOCS post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/setproctitle*.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} do-test: @cd ${WRKSRC}/tests && ${PYTHON_CMD} ${WRKSRC}/tests/setproctitle_test.py .include