Files
ports/security/py-m2crypto/Makefile
T
2025-01-02 10:44:46 +08:00

28 lines
722 B
Makefile

PORTNAME= m2crypto
PORTVERSION= 0.43.0
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Crypto and SSL toolkit for Python
WWW= https://m2crypto.readthedocs.io/en/latest/ \
https://gitlab.com/m2crypto/m2crypto
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
swig>=4.0:devel/swig
USES= cpe python ssl
USE_PYTHON= autoplist concurrent pep517
CPE_VENDOR= m2crypto_project
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>