diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-05-02 16:21:44 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-05-02 16:21:44 +0000 |
commit | 6121c51e447542edae4e3e514c4ed55c55542893 (patch) | |
tree | 5ff2eb970f16b71f3a7656dcfb99f11e99cd26f1 /security | |
parent | 92f48d8893d21e75eb77e9204684ad0941373537 (diff) |
- Move DIST_SUBDIR to the frist part of the port.
- Use OpenSSL from the ports (the new version makes additional functionality
to be compiled, which enables future - 2 right now - ports to work).
PR: ports/112131
Submitted by: alepulver (myself)
Approved by: mnag (maintainer, timeout)
Notes
Notes:
svn path=/head/; revision=191404
Diffstat (limited to 'security')
-rw-r--r-- | security/py-m2crypto/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile index 1de1addce5e9..fc8abc0c54b5 100644 --- a/security/py-m2crypto/Makefile +++ b/security/py-m2crypto/Makefile @@ -10,16 +10,21 @@ PORTVERSION= 0.17 CATEGORIES= security python MASTER_SITES= http://wiki.osafoundation.org/pub/Projects/MeTooCrypto/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DIST_SUBDIR= python MAINTAINER= mnag@FreeBSD.org COMMENT= Crypto and SSL toolkit for Python BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13 -DIST_SUBDIR= python USE_PYTHON= 2.3+ USE_PYDISTUTILS=yes USE_OPENSSL= yes +WITH_OPENSSL_PORT= yes + +.if defined(WITH_OPENSSL_PORT) +PYDISTUTILS_BUILDARGS= --openssl="${LOCALBASE}" +.endif post-patch: @${REINPLACE_CMD} "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" ${WRKSRC}/SWIG/Makefile |