Skip to content
Permalink
Browse files

Bug:

Submitted by:
Reviewed by:
Approved by:    daved@nostrum.com (maintainer)
Obtained from:
Port: 	libmpeg2
Version:	0.4.0

- bump to version 0.4.0
- stylistic nits

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4452 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage
Felix Kronlage committed Jan 4, 2004
1 parent 9ae04fb commit c207e7356ce8826b7eef720c2c6b305f00c61ae6
Showing with 19 additions and 24 deletions.
  1. +19 −24 graphics/libmpeg2/Portfile
@@ -1,33 +1,28 @@
# $Id: Portfile,v 1.2 2003/03/03 06:53:22 mij Exp $
# $Id: Portfile,v 1.3 2004/01/04 23:55:43 fkr Exp $

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 \
name libmpeg2
version 0.4.0
categories graphics
maintainers daved@nostrum.com
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
conformance, speed, portability, and reuseability.
distname mpeg2dec-${version}
platforms darwin freebsd
master_sites ${homepage}files/
checksums md5 49a70fef1b0f710ed7e64ed32ee82d4d
depends_lib lib:libSDL:libsdl
configure.args --enable-shared
configure.args CFLAGS="-I${prefix}/include -L${prefix}/lib"

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

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

0 comments on commit c207e73

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