diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2006-10-05 19:29:41 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2006-10-05 19:29:41 +0000 |
commit | c8a85c3566f39301568bb5070397af06c4ea7791 (patch) | |
tree | dc3b1e2979c587675e07f3a729b47ac4e4bfc77f /multimedia/py-gstreamer | |
parent | 759c8ede9660e55763cd56c3df580a2f8da571e6 (diff) | |
download | ports-c8a85c3566f39301568bb5070397af06c4ea7791.tar.gz ports-c8a85c3566f39301568bb5070397af06c4ea7791.zip |
Notes
Diffstat (limited to 'multimedia/py-gstreamer')
-rw-r--r-- | multimedia/py-gstreamer/Makefile | 13 | ||||
-rw-r--r-- | multimedia/py-gstreamer/pkg-plist | 2 |
2 files changed, 12 insertions, 3 deletions
diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile index e7227fb2ec0f..53187407cc54 100644 --- a/multimedia/py-gstreamer/Makefile +++ b/multimedia/py-gstreamer/Makefile @@ -7,6 +7,7 @@ PORTNAME= gstreamer PORTVERSION= 0.10.5 +PORTREVISION= 1 CATEGORIES= multimedia python gnome MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-python/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,9 +22,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2 USE_PYTHON= yes USE_BZIP2= yes USE_GMAKE= yes -USE_GNOME= pygtk2 \ - gnomehack \ - pkgconfig +USE_GNOME= pygtk2 gnomehack pkgconfig USE_GSTREAMER= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ @@ -32,4 +31,12 @@ 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} + .include <bsd.port.mk> diff --git a/multimedia/py-gstreamer/pkg-plist b/multimedia/py-gstreamer/pkg-plist index 2d9283420ac7..6748d9d5017c 100644 --- a/multimedia/py-gstreamer/pkg-plist +++ b/multimedia/py-gstreamer/pkg-plist @@ -19,6 +19,8 @@ %%PYTHON_SITELIBDIR%%/gst-0.10/gst/interfaces.so %%PYTHON_SITELIBDIR%%/pygst.pth %%PYTHON_SITELIBDIR%%/pygst.py +%%PYTHON_SITELIBDIR%%/pygst.pyc +%%PYTHON_SITELIBDIR%%/pygst.pyo libdata/pkgconfig/gst-python-0.10.pc share/gst-python/0.10/defs/base.defs share/gst-python/0.10/defs/gst-extrafuncs.defs |