summaryrefslogtreecommitdiff
path: root/security/py-m2crypto/Makefile
blob: 52830cd23d5f641e3926f19977f9b151062a1eb0 (plain)
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
29
30
31
# $NetBSD: Makefile,v 1.25 2010/01/17 12:02:44 wiz Exp $
#

DISTNAME=		m2crypto-0.13
PKGNAME=		${PYPKGPREFIX}-${DISTNAME}.1
PKGREVISION=		3
CATEGORIES=		security python
MASTER_SITES=		http://sandbox.rulemaker.net/ngps/Dist/
EXTRACT_SUFX=		.zip

PATCH_SITES=		${MASTER_SITES}
PATCHFILES=		0.13p1.patch

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://sandbox.rulemaker.net/ngps/m2/
COMMENT=		Crypto and SSL toolkit for Python

PKG_DESTDIR_SUPPORT=	user-destdir

PYDISTUTILSPKG=			yes

# constness is very different between openssl versions,
# it seems, and 0.9.7i is the version which currently is
# in pkgsrc and against which I fixed m2crypto to compile.
# -- wiz 20060115
BUILDLINK_API_DEPENDS.openssl+=	openssl>=0.9.7i{,nb*}

.include "../../lang/python/extension.mk"
.include "../../devel/swig/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"