freebsd-ports/security/py-m2crypto/Makefile
Martin Wilke 1b1b29c5e6 - Get rip python 2.3+
Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
2009-12-13 17:00:14 +00:00

35 lines
851 B
Makefile

# New ports collection makefile for: py-m2crypto
# Date created: 27 March 2001
# Whom: Peter Haight <peterh@sapros.com>
#
# $FreeBSD$
#
PORTNAME= m2crypto
PORTVERSION= 0.20
CATEGORIES= security python
MASTER_SITES= CHEESESHOP \
http://chandlerproject.org/pub/Projects/MeTooCrypto/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= M2Crypto-${PORTVERSION}
DIST_SUBDIR= python
MAINTAINER= mnag@FreeBSD.org
COMMENT= Crypto and SSL toolkit for Python
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
USE_PYTHON= 2.4+
USE_OPENSSL= yes
USE_PYDISTUTILS= easy_install
PYEASYINSTALL_ARCHDEP= yes
PYDISTUTILS_PKGNAME= M2Crypto
.include <bsd.port.pre.mk>
PYDISTUTILS_BUILDARGS= build_ext --openssl="${OPENSSLBASE}"
post-patch:
@${REINPLACE_CMD} "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" ${WRKSRC}/SWIG/Makefile
.include <bsd.port.post.mk>