Portfile

# $Id: Portfile 21392 2007-01-23 01:03:09Z ryandesign@macports.org $
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 nomaintainer@macports.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
}