openbsd-ports/security/py-crypto/Makefile

41 lines
933 B
Makefile
Raw Normal View History

2006-08-03 19:28:11 -04:00
# $OpenBSD: Makefile,v 1.7 2006/08/03 23:28:12 espie Exp $
SHARED_ONLY= Yes
COMMENT= "cryptographic tools for Python"
2005-11-27 10:20:42 -05:00
VERSION= 2.0.1
DISTNAME= pycrypto-${VERSION}
PKGNAME= py-crypto-${VERSION}p2
CATEGORIES= security devel
HOMEPAGE= http://www.amk.ca/python/code/crypto.html
MAINTAINER= Jason Ish <ish@openbsd.org>
# Public domain (patented algoritms removed by patch)
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
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-08-03 17:31:06 -04:00
DOCSDIR= ${PREFIX}/share/doc/py-crypto
2006-01-23 03:52:55 -05:00
pre-build:
perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' ${WRKSRC}/setup.py
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>