mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
f5130838c8
PR: ports/154232 Submitted by: lwhsu Approved by: maintainer timeout
35 lines
796 B
Makefile
35 lines
796 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.21.1
|
|
CATEGORIES= security python
|
|
MASTER_SITES= CHEESESHOP
|
|
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.5+
|
|
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>
|