# $Id: Portfile,v 1.1 2006/06/18 16:10:25 rhwood Exp $
PortSystem 1.0
name		gst-plugins-bad
version		0.10.3
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/
master_sites    http://gstreamer.freedesktop.org/src/${name}/
checksums	md5 8545a02c408976c5e9f0c2cf3c6a362e \
		sha1 1b74664340c2f3dc52c7fdc592e30500e33afd0f \
		rmd160 3902838dad5b0ec1023e1f5f25f9ee65d6a0ca5f
depends_lib	lib:libgstreamer:gstreamer
# 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
}
