2003-01-20 14:44:35 +01:00
|
|
|
# New ports collection makefile for: pycrypto
|
|
|
|
# Date created: 25 Oct 2002
|
|
|
|
# Whom: nbm
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pycrypto
|
2005-07-04 07:20:55 +02:00
|
|
|
PORTVERSION= 2.0.1
|
2003-01-20 14:44:35 +01:00
|
|
|
CATEGORIES= security
|
2004-04-10 19:26:55 +02:00
|
|
|
MASTER_SITES= http://www.amk.ca/files/python/crypto/
|
2003-01-20 14:44:35 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2004-03-25 19:33:22 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The Python Cryptography Toolkit
|
2003-01-20 14:44:35 +01:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=yes
|
2004-10-12 01:24:07 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-01-20 14:44:35 +01:00
|
|
|
|
2004-10-12 01:24:07 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500000
|
|
|
|
LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/setup.py
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|