aboutsummaryrefslogtreecommitdiff
path: root/security/py-twofish
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-twofish')
-rw-r--r--security/py-twofish/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/security/py-twofish/Makefile b/security/py-twofish/Makefile
index 43bdae2cdbf7..c937af3cf983 100644
--- a/security/py-twofish/Makefile
+++ b/security/py-twofish/Makefile
@@ -12,17 +12,15 @@ DISTNAME= twofishmodule-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Twofish cryptographic module for Python
-USE_PYTHON= yes
+USE_PYTHON= 2
GNU_CONFIGURE= yes
CFLAGS+= -fPIC
-NO_STAGE= yes
do-install:
- ${INSTALL_DATA} ${WRKSRC}/_twofish.so ${PYTHON_SITELIBDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/_twofish.so ${STAGEDIR}${PYTHON_SITELIBDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${PYTHON_SITELIBDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>