aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-10-22 02:22:57 +0800
committermezz <mezz@FreeBSD.org>2006-10-22 02:22:57 +0800
commitcdf7cc8e896ba11ca646d9d662227efaf9cc330a (patch)
tree72b941608a49bb6faa17b87d8b60a99b85697557 /multimedia
parent01a67a4157f41b3b2d029b27779755264bd4b667 (diff)
downloadfreebsd-ports-gnome-cdf7cc8e896ba11ca646d9d662227efaf9cc330a.tar.gz
freebsd-ports-gnome-cdf7cc8e896ba11ca646d9d662227efaf9cc330a.tar.zst
freebsd-ports-gnome-cdf7cc8e896ba11ca646d9d662227efaf9cc330a.zip
Second try to fix the pygst.pyc to avoid multimedia/quodlibet pokes on this
file when quodlibet installed. Generate the file in ${PYTHON_SITELIBDIR} rather than in ${WRKSRC} that seems help. Bump the PORTREVISION. Reported by: pointyhat (in quodlibet log) Approved by: portmgr (kris)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/py-gstreamer/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile
index d27f92817d60..cfcfd9c5080c 100644
--- a/multimedia/py-gstreamer/Makefile
+++ b/multimedia/py-gstreamer/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gstreamer
PORTVERSION= 0.10.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia python gnome
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -32,12 +32,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
post-patch:
@${REINPLACE_CMD} -e 's|DLFCN|dl|g' ${WRKSRC}/gst/__init__.py
-post-build:
- @cd ${WRKSRC} && ${PYTHON_CMD} -OOOO -c 'import pygst' && \
- ${PYTHON_CMD} -c 'import pygst'
-
post-install:
- ${INSTALL_DATA} ${WRKSRC}/pygst.pyo ${PYTHON_SITELIBDIR}
- ${INSTALL_DATA} ${WRKSRC}/pygst.pyc ${PYTHON_SITELIBDIR}
+ @cd ${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -OOOO -c 'import pygst' && \
+ ${PYTHON_CMD} -c 'import pygst'
.include <bsd.port.mk>