Skip to content
Permalink
Browse files

as provided by: daved@nostrum.com (David J Duchscher)

modified the patch procedure a bit to not fail.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2045 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jean-Pierre Mouilleseaux
Jean-Pierre Mouilleseaux committed Feb 18, 2003
1 parent d1fbaa0 commit 3b3246bb24ffac322fcb8a0c81ba82ff04edf8e3
Showing with 31 additions and 0 deletions.
  1. +31 −0 graphics/libmpeg2/Portfile
@@ -0,0 +1,31 @@
PortSystem 1.0
name libmpeg2
version 0.3.1
revision 0
categories graphics
maintainers daved@nostrum.com
distname mpeg2dec-${version}
platforms darwin freebsd
master_sites http://libmpeg2.sourceforge.net/files/
checksums md5 e9f899d232eee5e7282c9c96ffde8016
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.
depends_lib lib:libSDL:libsdl
configure.args --enable-shared

patch {
reinplace "s|@INCLUDES@|@INCLUDES@ -I\$(prefix)/include|" \
${worksrcpath}/src/Makefile.in
reinplace "37s|^|#include <SDL/SDL.h>|" \
${worksrcpath}/src/mpeg2dec.c
}

variant darwin {
configure.env CPPFLAGS="-no-cpp-precomp"
}

0 comments on commit 3b3246b

Please sign in to comment.
You can’t perform that action at this time.