# $Id: Portfile,v 1.2 2006/02/07 09:57:50 rhwood Exp $
PortSystem 1.0
name		gst-plugins08
version		0.8.11
description	This is gst-plugins, a set of plug-ins for GStreamer.
long_description        ${description}
maintainers	gnome-darwinports@opendarwin.org
categories	gnome
platforms	darwin 
homepage	http://www.gnome.org/
distname	gst-plugins-${version}
master_sites    gnome:sources/gst-plugins/0.8/ http://gstreamer.freedesktop.org/src/gst-plugins/
checksums	md5 ea787eeed3761ff03cb60ecebebe1c30
depends_lib	lib:libgstreamer:gstreamer08
# could depend on tons for multimedia stuff +variants
use_bzip2 	yes
configure.args	mandir=${prefix}/share/man --enable-static
configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" LDFLAGS="-L${prefix}/lib" \
                CFLAGS="-no-cpp-precomp -funroll-loops -fstrict-aliasing" 
post-extract {
	reinplace "s|-flat_namespace -undefined suppress|-undefined define_a_way|g" \
		${worksrcpath}/configure
}
