PORTNAME= platformdirs PORTVERSION= 2.5.2 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python module for determining appropriate platform-specific dirs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${RM} ${WRKSRC}/pyproject.toml @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py .include