aboutsummaryrefslogtreecommitdiff
path: root/devel/py-google-re2/Makefile
blob: a49b93738d9c88f791353e853ef766992e1f7a22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PORTNAME=	google-re2
PORTVERSION=	0.2.20220601
CATEGORIES=	devel python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	RE2 Python bindings

LICENSE=	BSD3CLAUSE

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} \
		re2>=${PORTVERSION:E}:devel/re2
LIB_DEPENDS=	libre2.so:devel/re2

USES=		compiler:c11 localbase python:3.7+
USE_PYTHON=	autoplist concurrent distutils

post-install:
	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +

.include <bsd.port.mk>