diff options
Diffstat (limited to 'devel/py-tree-sitter-css/Makefile')
| -rw-r--r-- | devel/py-tree-sitter-css/Makefile | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/devel/py-tree-sitter-css/Makefile b/devel/py-tree-sitter-css/Makefile new file mode 100644 index 000000000000..496640530c1e --- /dev/null +++ b/devel/py-tree-sitter-css/Makefile @@ -0,0 +1,24 @@ +PORTNAME=	tree-sitter-css +PORTVERSION=	0.25.0 +CATEGORIES=	devel python +MASTER_SITES=	PYPI +PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX} +DISTNAME=	tree_sitter_css-${PORTVERSION} + +MAINTAINER=	sunpoet@FreeBSD.org +COMMENT=	CSS grammar for tree-sitter +WWW=		https://github.com/tree-sitter/tree-sitter-css + +LICENSE=	MIT +LICENSE_FILE=	${WRKSRC}/LICENSE + +BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=62.4.0:devel/py-setuptools@${PY_FLAVOR} \ +		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES=		python:3.10+ +USE_PYTHON=	autoplist concurrent pep517 + +post-install: +	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include <bsd.port.mk> | 
