# $Id: Portfile,v 1.2 2006/06/13 09:22:41 rhwood Exp $
PortSystem 1.0
name		gst-plugins-good
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    gnome:sources/gst-plugins-good/0.10/ http://gstreamer.freedesktop.org/src/${name}/
checksums	md5 2b59bce477349628ee549c2ce1d80a3a \
		sha1 d3616a0bd12b4c98dfdc3b4a0498ec77779a5d46 \
		rmd160 3f6f5ae89e566e3a900e1ce1e67b56742bf1eb0c
depends_lib	port:gst-plugins-base
# 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
}
