aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-pycrypto/Makefile
blob: a78462c53af22f8ef1701bcedb4746c7e697764a (plain) (blame)
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
# New ports collection makefile for: pycrypto
# Date created:     25 Oct 2002
# Whom:         nbm
#
# $FreeBSD$
#

PORTNAME=   pycrypto
PORTVERSION=    2.1.0
CATEGORIES= security python
MASTER_SITES=   http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= k@stereochro.me
COMMENT=    The Python Cryptography Toolkit

USE_PYTHON= yes
USE_PYDISTUTILS=yes

LIB_DEPENDS+=   gmp.8:${PORTSDIR}/math/libgmp4

pre-patch:
    @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/setup.py

.include <bsd.port.mk>