freebsd-ports/security/py-pycrypto/Makefile
Pav Lucistnik 81bbe8d04e - Update to 2.0
- Add gmp dependency on FreeBSD 5.x

PR:		ports/72172
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2004-10-11 23:24:07 +00:00

30 lines
609 B
Makefile

# New ports collection makefile for: pycrypto
# Date created: 25 Oct 2002
# Whom: nbm
#
# $FreeBSD$
#
PORTNAME= pycrypto
PORTVERSION= 2.0
CATEGORIES= security
MASTER_SITES= http://www.amk.ca/files/python/crypto/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= The Python Cryptography Toolkit
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_REINPLACE= yes
.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>