aboutsummaryrefslogtreecommitdiff
path: root/security/py-m2crypto/Makefile
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-10-13 19:14:55 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-10-13 19:14:55 +0000
commit14f1f5a3b8c2dc785c0bc4d9960f18cdba13b402 (patch)
tree055145d4eab7a2a1abe69b074344e56ac216eb24 /security/py-m2crypto/Makefile
parent67ac3124b5870eae6dc772962edf31d71b8dff32 (diff)
downloadports-14f1f5a3b8c2dc785c0bc4d9960f18cdba13b402.tar.gz
ports-14f1f5a3b8c2dc785c0bc4d9960f18cdba13b402.zip
Diffstat (limited to 'security/py-m2crypto/Makefile')
-rw-r--r--security/py-m2crypto/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
index c1ea2fb9f12f..0c2e1ff3053d 100644
--- a/security/py-m2crypto/Makefile
+++ b/security/py-m2crypto/Makefile
@@ -16,12 +16,13 @@ LICENSE_FILE= ${WRKSRC}/LICENCE
BUILD_DEPENDS= swig>=2.0.4:devel/swig
USES= cpe python:3.6+ ssl
-CPE_VENDOR= ${PORTNAME}_project
USE_PYTHON= autoplist concurrent distutils
PYDISTUTILS_BUILDARGS= build_ext --openssl=${OPENSSLBASE} --swig=${LOCALBASE}/bin/swig
+CPE_VENDOR= m2crypto_project
+
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/M2Crypto/_m2crypto*.so
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>