aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-json-py/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-json-py/Makefile')
-rw-r--r--devel/py-json-py/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/py-json-py/Makefile b/devel/py-json-py/Makefile
index 03bb1af7e7a7..bde22e42699c 100644
--- a/devel/py-json-py/Makefile
+++ b/devel/py-json-py/Makefile
@@ -19,7 +19,7 @@ USES= python zip
do-build:
# compile python files
- cd ${WRKDIR}; \
+ cd ${WRKSRC}; \
FILES=$$(${FIND} . -name "*.py" ); \
for FILE in $${FILES}; do \
${ECHO} import `basename $${FILE} .py` | ${PYTHON_CMD}; \
@@ -27,7 +27,7 @@ do-build:
do-install:
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
- @cd ${WRKDIR}; \
+ @cd ${WRKSRC}; \
${FIND} . \( -name "*.py" -or -name "*.pyc" \) -exec ${INSTALL_SCRIPT} \{\} ${STAGEDIR}${PYTHON_SITELIBDIR} \;
.include <bsd.port.mk>