aboutsummaryrefslogtreecommitdiff
path: root/multimedia/py-gstreamer
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-11-30 19:09:40 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-11-30 19:09:40 +0000
commitfdb78c366602e2187aa4855b5b61b758a6a308f0 (patch)
tree80910526cd1612fc96dd71eefcc2ae1c1e996bde /multimedia/py-gstreamer
parentdf6e693eeacab455336dab34eaecf73b58f3e1da (diff)
downloadports-fdb78c366602e2187aa4855b5b61b758a6a308f0.tar.gz
ports-fdb78c366602e2187aa4855b5b61b758a6a308f0.zip
Notes
Diffstat (limited to 'multimedia/py-gstreamer')
-rw-r--r--multimedia/py-gstreamer/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile
index a1b3c782a340..38101c2464bc 100644
--- a/multimedia/py-gstreamer/Makefile
+++ b/multimedia/py-gstreamer/Makefile
@@ -40,9 +40,10 @@ post-patch:
.endfor
post-install:
- ${SETENV} PYTHON=${PYTHON_CMD} ${SH} ${WRKSRC}/py-compile --destdir ${STAGEDIR} \
- --basedir ${PYTHON_SITELIBDIR} \
- ${STAGEDIR}${PYTHON_SITELIBDIR}/pygst.py
+ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d \
+ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d \
+ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gst-0.10/gst/*.so
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/*.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gstreamer-0.10/libgstpython.so