a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20418 2006-11-03 02:16:16Z jberry@macports.org $
PortSystem 1.0
name libmpeg2
version 0.4.0b
categories multimedia
maintainers nomaintainer@macports.org
homepage http://libmpeg2.sourceforge.net/
description A free library for decoding mpeg-2 and mpeg-1 video streams.
long_description libmpeg2 is a free library for decoding \
mpeg-2 and mpeg-1 video streams. The main \
goals in libmpeg2 development are \
conformance, speed, portability, and reuseability.
distname mpeg2dec-${version}
platforms darwin
master_sites ${homepage}files/
checksums md5 52d10ea80595ec83d8557ba7ac6dc8e6
patchfiles patch-libmpeg2-cpu_accel.c
depends_lib port:libsdl
worksrcdir mpeg2dec-0.4.0
configure.args --enable-shared \
--mandir=${prefix}/share/man
configure.env CPPFLAGS="-no-cpp-precomp" \
CFLAGS="-I${prefix}/include -L${prefix}/lib"
platform darwin 8 {
configure.env-append CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 CPP=/usr/bin/cpp-4.0
}