27 lines
932 B
Makefile
27 lines
932 B
Makefile
# $NetBSD: Makefile,v 1.38 2016/07/09 13:04:04 wiz Exp $
|
|
|
|
DISTNAME= M2Crypto-0.22.3
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
PKGREVISION= 1
|
|
CATEGORIES= security python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=M/M2Crypto/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://chandlerproject.org/bin/view/Projects/MeTooCrypto
|
|
COMMENT= Crypto and SSL toolkit for Python
|
|
LICENSE= m2crypto-license
|
|
|
|
# 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*}
|
|
|
|
PYSETUPBUILDARGS= build_ext --openssl=${BUILDLINK_PREFIX.openssl}
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # not yet ported as of 0.21.1
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../devel/swig/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|