1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/security/py-m2crypto/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

34 lines
784 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.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
USE_PYTHON= 2.3+
USE_PYDISTUTILS=yes
USE_OPENSSL= yes
WITH_OPENSSL_PORT= yes
PYDISTUTILS_PKGNAME= M2Crypto
.if defined(WITH_OPENSSL_PORT)
PYDISTUTILS_BUILDARGS= --openssl="${LOCALBASE}"
.endif
post-patch:
@${REINPLACE_CMD} "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" ${WRKSRC}/SWIG/Makefile
.include <bsd.port.mk>