aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-30 19:12:10 +0800
committerwg <wg@FreeBSD.org>2013-12-30 19:12:10 +0800
commitaedb72c2f02b60c5c73b3a0b1898725b5a280065 (patch)
tree3d4ec47e142188235c0fef963db1b9fa7f870a87 /security
parent578aaa88abefefeed4a346832a9da1f9cf138d65 (diff)
downloadfreebsd-ports-gnome-aedb72c2f02b60c5c73b3a0b1898725b5a280065.tar.gz
freebsd-ports-gnome-aedb72c2f02b60c5c73b3a0b1898725b5a280065.tar.zst
freebsd-ports-gnome-aedb72c2f02b60c5c73b3a0b1898725b5a280065.zip
security/py-twofish: support staging and restrict to python 2.x
Diffstat (limited to 'security')
-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>