# $Id: Portfile,v 1.1 2006/06/18 16:10:25 rhwood Exp $
PortSystem 1.0
name		gst-plugins-ugly
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 af6f238507b0040bf84fcbc6a241e559 \
		sha1 98c69c4feeee975fdbe829cf6534d6c12b960182 \
		rmd160 0ea0d039cf87ecf662655521b9dbca8c2a388412
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
}
