Merge branch 'staged'
[dports.git] / security / py-m2crypto / Makefile
1 PORTNAME=       m2crypto
2 PORTVERSION=    0.39.0
3 CATEGORIES=     security python
4 MASTER_SITES=   PYPI
5 PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
6 DISTNAME=       M2Crypto-${PORTVERSION}
7
8 MAINTAINER=     sunpoet@FreeBSD.org
9 COMMENT=        Crypto and SSL toolkit for Python
10 WWW=            https://gitlab.com/m2crypto/m2crypto
11
12 LICENSE=        MIT
13 LICENSE_FILE=   ${WRKSRC}/LICENCE
14
15 BUILD_DEPENDS=  swig>=2.0.4:devel/swig
16
17 USES=           cpe python ssl
18 USE_PYTHON=     autoplist concurrent distutils
19
20 PYDISTUTILS_BUILDARGS=  build_ext --openssl=${OPENSSLBASE} --swig=${LOCALBASE}/bin/swig
21
22 CPE_VENDOR=     m2crypto_project
23
24 post-install:
25         ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
26
27 .include <bsd.port.mk>