2001-03-31 01:52:00 +00:00
|
|
|
# New ports collection makefile for: py-m2crypto
|
|
|
|
# Date created: 27 March 2001
|
|
|
|
# Whom: Peter Haight <peterh@sapros.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= m2crypto
|
2011-04-09 05:40:16 +00:00
|
|
|
PORTVERSION= 0.21.1
|
2001-03-31 01:52:00 +00:00
|
|
|
CATEGORIES= security python
|
2011-04-09 05:40:16 +00:00
|
|
|
MASTER_SITES= CHEESESHOP
|
2001-03-31 01:52:00 +00:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2009-01-27 10:20:52 +00:00
|
|
|
DISTNAME= M2Crypto-${PORTVERSION}
|
2007-05-02 16:21:44 +00:00
|
|
|
DIST_SUBDIR= python
|
2005-03-19 22:25:17 +00:00
|
|
|
|
2012-02-01 19:02:05 +00:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2003-07-01 04:51:41 +00:00
|
|
|
COMMENT= Crypto and SSL toolkit for Python
|
2003-05-07 00:12:29 +00:00
|
|
|
|
2005-03-19 22:25:17 +00:00
|
|
|
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
|
|
|
|
|
2001-03-31 01:52:00 +00:00
|
|
|
USE_OPENSSL= yes
|
2012-02-09 01:01:00 +00:00
|
|
|
USE_PYTHON= 2.5-2.7
|
2009-01-27 10:20:52 +00:00
|
|
|
USE_PYDISTUTILS= easy_install
|
2008-02-20 01:40:23 +00:00
|
|
|
PYDISTUTILS_BUILDARGS= build_ext --openssl="${OPENSSLBASE}"
|
2012-02-01 19:02:05 +00:00
|
|
|
PYDISTUTILS_PKGNAME= M2Crypto
|
|
|
|
PYEASYINSTALL_ARCHDEP= yes
|
2001-03-31 01:52:00 +00:00
|
|
|
|
2003-08-06 08:46:45 +00:00
|
|
|
post-patch:
|
2012-02-01 19:02:05 +00:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|/usr/local/include/python$$(PYVER)|${PYTHON_INCLUDEDIR}|g' \
|
|
|
|
-e 's|/usr/local/lib/python$$(PYVER)|${PYTHON_INCLUDEDIR}|g' \
|
|
|
|
${WRKSRC}/SWIG/Makefile
|
2001-03-31 01:52:00 +00:00
|
|
|
|
2012-02-01 19:02:05 +00:00
|
|
|
.include <bsd.port.mk>
|