summaryrefslogtreecommitdiff
path: root/security/py-amkCrypto/Makefile
blob: 7fdac023526d4a0aafc689d7dc8207978c933890 (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
# $NetBSD: Makefile,v 1.5 2002/09/21 23:46:56 jlam Exp $
#

DISTNAME=	amkCrypto-0.1.3
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	security
MASTER_SITES=	http://www.amk.ca/files/python/
EXTRACT_SUFX=	.tgz

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.amk.ca/python/code/crypto.html
COMMENT=	cryptographic and hash functions for Python

PYBINMODULE=	yes
PYDISTUTILSPKG=	yes

CONFIGURE_ENV+=	SSLBASE=${SSLBASE}

do-configure:
	${SED} -e "s|/usr/local/ssl|${SSLBASE}|g"                  \
		${WRKSRC}/setup.py > ${WRKSRC}/setup.py.tmp
	${MV} -f ${WRKSRC}/setup.py.tmp ${WRKSRC}/setup.py

.include "../../security/openssl/buildlink.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"