Ticket #16874: macports.mpg123.Portfile.patch

File macports.mpg123.Portfile.patch, 1.6 KB (added by astifter@…, 16 years ago)

Patch for Portfile for Port mpg123 with version 1.5.1

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            mpg123
    5 version         pre0.59s
     5version         1.5.1
    66revision        1
    77categories      audio
    8 maintainers     nomaintainer
     8maintainers     astifter@gmx.at
    99description     fast mp3 player for linux and unix systems
    1010long_description        \
    1111        Mpg123 is a fast, free and portable MPEG audio player for Unix. It \
     
    1919
    2020homepage        http://www.mpg123.de/
    2121platforms       darwin
    22 master_sites    http://www.mpg123.de/mpg123/
    23 checksums       md5 a63675b0ea7990d4a7d7e7e14f23a3e4
    24 worksrcdir      ${name}
    25 depends_lib     lib:libaudiofile.0:audiofile
    26 post-patch {
    27         reinplace "s|PREFIX=/usr/local|PREFIX=${prefix}|g" "${worksrcpath}/Makefile"   
    28 }
    29 configure       {}
    30 build.args      LDFLAGS=-L${prefix}/lib \
    31         CPPFLAGS=-I${prefix}/include
    32 destroot.destdir        PREFIX=${destroot}${prefix} \
    33         MANDIR=${destroot}${prefix}/share/man
     22master_sites    http://www.mpg123.de/download/
     23checksums       md5 b5f78c554459bbd72306be1110196eea
     24worksrcdir      ${name}-${version}
     25destroot.destdir        prefix=${destroot}${prefix} \
     26        mandir=${destroot}${prefix}/share/man
    3427
    35 platform puredarwin {
    36     depends_lib-append \
    37         lib:libesd.0:esound
    38     patchfiles      patch-Makefile
    39     build.target    darwin-esd
     28platform macosx i386 {
     29    configure.args-append --with-cpu=x86
    4030}
    4131
    42 platform macosx {
    43 #       depends_lib-append \
    44 #           path:/System/Library/Frameworks/CoreAudio.framework:XXX
    45     patchfiles      patch-audio_macosx.diff patch-makefile.diff
    46         build.target    macosx
     32platform macosx powerpc {
     33    configure.args-append --with-cpu=altivec
    4734}