mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
28 lines
680 B
Makefile
28 lines
680 B
Makefile
# Created by: Peter Haight <peterh@sapros.com>
|
|
|
|
PORTNAME= m2crypto
|
|
PORTVERSION= 0.38.0
|
|
CATEGORIES= security python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= M2Crypto-${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Crypto and SSL toolkit for Python
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE
|
|
|
|
BUILD_DEPENDS= swig>=2.0.4:devel/swig
|
|
|
|
USES= cpe python:3.6+ ssl
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
PYDISTUTILS_BUILDARGS= build_ext --openssl=${OPENSSLBASE} --swig=${LOCALBASE}/bin/swig
|
|
|
|
CPE_VENDOR= m2crypto_project
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|