# Created by: ijliao # $FreeBSD$ PORTNAME= twofish PORTVERSION= 0.7 PORTREVISION= 3 CATEGORIES= security python MASTER_SITES= SF/${PORTNAME}-py/${PORTNAME}-py/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= twofishmodule-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Twofish cryptographic module for Python USES= python:2.7 shebangfix SHEBANG_FILES= cryptfile.py decryptfile.py GNU_CONFIGURE= yes CFLAGS+= -fPIC OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/_twofish.so ${STAGEDIR}${PYTHON_SITELIBDIR} ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_twofish.so ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${PYTHON_SITELIBDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include