2008-09-05 16:23:43 +02:00
|
|
|
# New ports collection makefile for: pycryptopp
|
|
|
|
# Date created: 30 August 2008
|
|
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pycryptopp
|
2011-02-17 04:25:42 +01:00
|
|
|
PORTVERSION= 0.5.29
|
2008-09-05 16:23:43 +02:00
|
|
|
CATEGORIES= security python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2009-10-20 08:29:09 +02:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
2008-09-05 16:23:43 +02:00
|
|
|
COMMENT= Python Wrappers for the Crypto++ Library
|
|
|
|
|
2009-07-05 01:54:50 +02:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}darcsver>0:${PORTSDIR}/devel/py-darcsver \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}setuptools_darcs>0:${PORTSDIR}/devel/py-setuptools_darcs
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2008-09-05 16:23:43 +02:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=easy_install
|
|
|
|
PYEASYINSTALL_ARCHDEP= yes
|
|
|
|
|
2009-07-05 01:54:50 +02:00
|
|
|
post-extract:
|
2009-12-24 16:15:32 +01:00
|
|
|
@${REINPLACE_CMD} -e 's#<malloc.h>#<stdlib.h>#g' \
|
2011-02-17 04:25:42 +01:00
|
|
|
${WRKSRC}/embeddedcryptopp/rijndael.cpp \
|
|
|
|
${WRKSRC}/embeddedcryptopp/config.h \
|
|
|
|
${WRKSRC}/embeddedcryptopp/secblock.h
|
2009-07-05 01:54:50 +02:00
|
|
|
|
2008-09-05 16:23:43 +02:00
|
|
|
.include <bsd.port.mk>
|