383ae732c0
Changes: https://gitlab.com/m2crypto/m2crypto/blob/master/CHANGES https://gitlab.com/m2crypto/m2crypto/commits/master
28 lines
693 B
Makefile
28 lines
693 B
Makefile
# Created by: Peter Haight <peterh@sapros.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= m2crypto
|
|
PORTVERSION= 0.36.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
|
|
RUN_DEPENDS= ${PY_TYPING}
|
|
|
|
USES= python ssl
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
PYDISTUTILS_BUILDARGS= build_ext --include=${OPENSSLINC} --openssl=${OPENSSLBASE} --swig=${LOCALBASE}/bin/swig
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/M2Crypto/_m2crypto.so
|
|
|
|
.include <bsd.port.mk>
|