mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
6121c51e44
- 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)
33 lines
754 B
Makefile
33 lines
754 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
|
|
|
|
.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>
|