2009-03-11 15:25:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2009/03/11 19:25:05 bernd Exp $
|
2004-02-03 02:19:06 -05:00
|
|
|
|
2008-06-10 22:59:32 -04:00
|
|
|
SHARED_ONLY= Yes
|
2004-02-03 02:19:06 -05:00
|
|
|
|
2008-06-10 22:59:32 -04:00
|
|
|
COMMENT= cryptographic tools for Python
|
2004-02-03 02:19:06 -05:00
|
|
|
|
2008-06-10 22:59:32 -04:00
|
|
|
MODPY_EGG_VERSION= 2.0.1
|
|
|
|
DISTNAME= pycrypto-${MODPY_EGG_VERSION}
|
2009-03-11 15:25:05 -04:00
|
|
|
PKGNAME= py-crypto-${MODPY_EGG_VERSION}p5
|
2008-06-10 22:59:32 -04:00
|
|
|
CATEGORIES= security devel
|
2004-02-03 02:19:06 -05:00
|
|
|
|
2008-06-10 22:59:32 -04:00
|
|
|
HOMEPAGE= http://www.amk.ca/python/code/crypto.html
|
2004-02-03 02:19:06 -05:00
|
|
|
|
2008-06-10 22:59:32 -04:00
|
|
|
MAINTAINER= Will Maier <wcmaier@openbsd.org>
|
2004-02-03 02:19:06 -05:00
|
|
|
|
2008-06-10 22:59:32 -04:00
|
|
|
# Public domain (patented algorithms removed by patch)
|
2005-05-28 01:39:45 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2004-02-03 02:19:06 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2005-05-28 01:39:45 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2004-02-03 02:19:06 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.amk.ca/files/python/crypto/
|
|
|
|
|
2004-08-03 17:31:06 -04:00
|
|
|
MODULES= lang/python
|
2006-08-03 19:28:11 -04:00
|
|
|
LIB_DEPENDS= gmp.>=6::devel/gmp
|
2004-02-03 02:19:06 -05:00
|
|
|
|
2004-08-03 17:31:06 -04:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-crypto
|
2004-02-03 02:19:06 -05:00
|
|
|
|
2008-06-10 22:59:32 -04:00
|
|
|
pre-configure:
|
|
|
|
@${SUBST_CMD} ${WRKSRC}/setup.py
|
2006-01-23 03:52:55 -05:00
|
|
|
|
2004-02-03 02:19:06 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
|
|
|
|
do-regress: fake
|
|
|
|
cd ${WRKSRC} && ${MAKE_ENV} \
|
|
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} test.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|