Changeset 4452


Ignore:
Timestamp:
Jan 4, 2004, 11:55:43 PM (17 years ago)
Author:
fkr
Message:

Bug:
Submitted by:
Reviewed by:
Approved by: daved@… (maintainer)
Obtained from:
Port: libmpeg2
Version: 0.4.0

  • bump to version 0.4.0
  • stylistic nits
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/libmpeg2/Portfile

    r2125 r4452  
    1 # $Id: Portfile,v 1.2 2003/03/03 06:53:22 mij Exp $
     1# $Id: Portfile,v 1.3 2004/01/04 23:55:43 fkr Exp $
    22
    33PortSystem 1.0
    4 name                    libmpeg2
    5 version                 0.3.1
    6 revision                0
    7 categories              graphics
    8 maintainers             daved@nostrum.com
    9 distname                mpeg2dec-${version}
    10 platforms               darwin freebsd
    11 master_sites            http://libmpeg2.sourceforge.net/files/
    12 checksums               md5 e9f899d232eee5e7282c9c96ffde8016
    13 homepage                http://libmpeg2.sourceforge.net/
    14 description             A free library for decoding mpeg-2 and \
    15                         mpeg-1 video streams.
    16 long_description        libmpeg2 is a free library for decoding \
     4name            libmpeg2
     5version         0.4.0
     6categories      graphics
     7maintainers     daved@nostrum.com
     8homepage        http://libmpeg2.sourceforge.net/
     9description     A free library for decoding mpeg-2 and mpeg-1 video streams.
     10long_description        libmpeg2 is a free library for decoding \
    1711                        mpeg-2 and mpeg-1 video streams.  The main \
    1812                        goals in libmpeg2 development are \
    19                         conformance, speed, portability, and \
    20                         reuseability.
    21 depends_lib             lib:libSDL:libsdl
    22 configure.args          --enable-shared
     13                        conformance, speed, portability, and reuseability.
     14distname        mpeg2dec-${version}
     15platforms       darwin freebsd
     16master_sites    ${homepage}files/
     17checksums       md5 49a70fef1b0f710ed7e64ed32ee82d4d
     18depends_lib     lib:libSDL:libsdl
     19configure.args  --enable-shared
     20configure.args  CFLAGS="-I${prefix}/include -L${prefix}/lib"
    2321
    24 patch {
    25         reinplace "s|@INCLUDES@|@INCLUDES@ -I\$(prefix)/include|" \
    26                 ${worksrcpath}/src/Makefile.in
    27         reinplace "37s|^|#include <SDL/SDL.h>|" \
    28                 ${worksrcpath}/src/mpeg2dec.c
     22patch {         reinplace "s|@INCLUDES@|@INCLUDES@ -I\$(prefix)/include|" \
     23                        ${worksrcpath}/src/Makefile.in
    2924}
    3025
    3126variant darwin {
    32         configure.env   CPPFLAGS="-no-cpp-precomp"
     27        configure.env-append    CPPFLAGS="-no-cpp-precomp"
    3328}
Note: See TracChangeset for help on using the changeset viewer.