aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-m2crypto
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-20 11:21:47 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-20 11:21:47 +0800
commit8692e8328abbbf0eb8b7eba161731ecb28f7c325 (patch)
tree795864a95f15c1f00b0e4e3e93299d9ec56cd558 /security/py-m2crypto
parent199a09736f0b728e4c37336279eb4c80afd72959 (diff)
downloadfreebsd-ports-graphics-8692e8328abbbf0eb8b7eba161731ecb28f7c325.tar.gz
freebsd-ports-graphics-8692e8328abbbf0eb8b7eba161731ecb28f7c325.tar.zst
freebsd-ports-graphics-8692e8328abbbf0eb8b7eba161731ecb28f7c325.zip
- Support STAGEDIR
- Pet portlint
Diffstat (limited to 'security/py-m2crypto')
-rw-r--r--security/py-m2crypto/Makefile12
-rw-r--r--security/py-m2crypto/distinfo4
2 files changed, 8 insertions, 8 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
index babaf8292eb..cd320e755cf 100644
--- a/security/py-m2crypto/Makefile
+++ b/security/py-m2crypto/Makefile
@@ -8,22 +8,22 @@ CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= M2Crypto-${PORTVERSION}
-DIST_SUBDIR= python
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Crypto and SSL toolkit for Python
BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
-USE_OPENSSL= yes
-USE_PYTHON= -2.7
-USE_PYDISTUTILS=yes
PYDISTUTILS_BUILDARGS= build_ext --openssl="${OPENSSLBASE}"
PYDISTUTILS_PKGNAME= M2Crypto
+USE_OPENSSL= yes
+USE_PYDISTUTILS=yes
+USE_PYTHON= -2.7
+MAKE_ARGS= PYTHON_VERSION=${PYTHON_VER}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|setuptools|do_not_use_&|; /test_suite/d' ${WRKSRC}/${PYSETUP}
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; s|$$(PYVER)|${PYTHON_VER}|' ${WRKSRC}/SWIG/Makefile
+# @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; s|$$(PYVER)|${PYTHON_VER}|' ${WRKSRC}/SWIG/Makefile
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/SWIG/Makefile
.include <bsd.port.mk>
diff --git a/security/py-m2crypto/distinfo b/security/py-m2crypto/distinfo
index 40eb88c4c6b..4f3a99d11b8 100644
--- a/security/py-m2crypto/distinfo
+++ b/security/py-m2crypto/distinfo
@@ -1,2 +1,2 @@
-SHA256 (python/M2Crypto-0.21.1.tar.gz) = 25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a
-SIZE (python/M2Crypto-0.21.1.tar.gz) = 413563
+SHA256 (M2Crypto-0.21.1.tar.gz) = 25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a
+SIZE (M2Crypto-0.21.1.tar.gz) = 413563