aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-12-30 12:44:07 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-12-30 12:44:07 +0000
commit4c833053e864af3dca62eb58a0f4c6d05506a8ec (patch)
treebbc4fd29490a2d5cce7c167ea8a5360e03003009
parent9cbb56cc723c4fb46561a3edfeb1c1aad9f3801c (diff)
downloadports-4c833053e864af3dca62eb58a0f4c6d05506a8ec.tar.gz
ports-4c833053e864af3dca62eb58a0f4c6d05506a8ec.zip
Notes
-rw-r--r--www/py-fcgi/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/www/py-fcgi/Makefile b/www/py-fcgi/Makefile
index 029eb31a3071..d9cec11aeedc 100644
--- a/www/py-fcgi/Makefile
+++ b/www/py-fcgi/Makefile
@@ -17,15 +17,19 @@ COMMENT= Python FastCGI interface library
USE_PYTHON= yes
NO_WRKSUBDIR= yes
-NO_STAGE= yes
post-extract:
@${INSTALL_DATA} ${DISTDIR}/fcgi.py ${WRKSRC}
do-build:
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
- @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ -d ${PYTHONPREFIX_SITELIBDIR} \
+ -f ${WRKSRC}
+ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+ -d ${PYTHONPREFIX_SITELIBDIR} \
+ -f ${WRKSRC}
do-install:
- @${INSTALL_DATA} ${WRKSRC}/fcgi.py* ${PYTHON_SITELIBDIR}
+ @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/fcgi.py* ${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>