summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-pitfdll/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer-pitfdll/Makefile')
-rw-r--r--multimedia/gstreamer-pitfdll/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/multimedia/gstreamer-pitfdll/Makefile b/multimedia/gstreamer-pitfdll/Makefile
new file mode 100644
index 000000000..5ee68c376
--- /dev/null
+++ b/multimedia/gstreamer-pitfdll/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: gstreamer plugins pitfdll
+# Date created: 08 Oct 2005
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gstreamer-pitfdll
+PORTVERSION= 0.8.2
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= pitfdll
+DISTNAME= pitfdll-${PORTVERSION}
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT= GStreamer DLL loader plugin
+
+RUN_DEPENDS= ${LOCALBASE}/lib/win32/wmv8ds32.ax:${PORTSDIR}/multimedia/win32-codecs
+
+USE_X_PREFIX= yes
+ONLY_FOR_ARCHS= i386
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+USE_GNOME= gnometarget
+USE_REINPLACE= yes
+USE_GSTREAMER80= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+PLIST_SUB= VERSION="${GST_VERSION}"
+
+GST_VERSION= 0.8
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/lib/win32|${LOCALBASE}/lib/win32|g' \
+ ${WRKSRC}/ext/pitfdll/Makefile.in \
+ ${WRKSRC}/gst-libs/ext/loader/wine/Makefile.in
+
+post-install:
+# register plugins
+ -@${X11BASE}/bin/gst-register-${GST_VERSION} \
+ --gst-registry=${PREFIX}/share/gnome/cache/gstreamer-${GST_VERSION}/registry.xml 2>/dev/null
+
+.include <bsd.port.mk>