summaryrefslogtreecommitdiffstats
path: root/security/py-pycryptopp/Makefile
blob: b41ac9a785f86c9c859e00527ef7e647a4035aeb (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
27
28
29
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=	pycryptopp
PORTVERSION=	0.5.29
PORTREVISION=	1
CATEGORIES=	security python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	wen@FreeBSD.org
COMMENT=	Python Wrappers for the Crypto++ Library

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}darcsver>0:${PORTSDIR}/devel/py-darcsver \
		${PYTHON_PKGNAMEPREFIX}setuptools_darcs>0:${PORTSDIR}/devel/py-setuptools_darcs
RUN_DEPENDS:=	${BUILD_DEPENDS}

USE_PYTHON=	yes
USE_GCC=	yes
USE_PYDISTUTILS=	yes
PYDISTUTILS_AUTOPLIST=	yes

post-extract:
	@${REINPLACE_CMD} -e 's#<malloc.h>#<stdlib.h>#g' \
		${WRKSRC}/embeddedcryptopp/rijndael.cpp \
		${WRKSRC}/embeddedcryptopp/config.h \
		${WRKSRC}/embeddedcryptopp/secblock.h

.include <bsd.port.mk>
OpenPOWER on IntegriCloud