aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-m2crypto/Makefile
blob: 32681528b8d6b38ba285c2d7f57e9550fa878bb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:    py-m2crypto
# Date created:             27 March 2001
# Whom:                 Peter Haight <peterh@sapros.com>
#
# $FreeBSD$
#

PORTNAME=   m2crypto
PORTVERSION=    0.16
PORTREVISION=   1
CATEGORIES= security python
MASTER_SITES=   http://wiki.osafoundation.org/pub/Projects/MeTooCrypto/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= mnag@FreeBSD.org
COMMENT=    Crypto and SSL toolkit for Python

BUILD_DEPENDS=  swig1.3:${PORTSDIR}/devel/swig13

DIST_SUBDIR=    python
USE_PYTHON= 2.3+
USE_PYDISTUTILS=yes
USE_OPENSSL=    yes

post-patch:
    @${REINPLACE_CMD} "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" ${WRKSRC}/SWIG/Makefile

.include <bsd.port.mk>