Ticket #16874: macports.mpg123.Portfile.patch
File macports.mpg123.Portfile.patch, 1.6 KB (added by astifter@…, 16 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name mpg123 5 version pre0.59s5 version 1.5.1 6 6 revision 1 7 7 categories audio 8 maintainers nomaintainer8 maintainers astifter@gmx.at 9 9 description fast mp3 player for linux and unix systems 10 10 long_description \ 11 11 Mpg123 is a fast, free and portable MPEG audio player for Unix. It \ … … 19 19 20 20 homepage http://www.mpg123.de/ 21 21 platforms 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 22 master_sites http://www.mpg123.de/download/ 23 checksums md5 b5f78c554459bbd72306be1110196eea 24 worksrcdir ${name}-${version} 25 destroot.destdir prefix=${destroot}${prefix} \ 26 mandir=${destroot}${prefix}/share/man 34 27 35 platform puredarwin { 36 depends_lib-append \ 37 lib:libesd.0:esound 38 patchfiles patch-Makefile 39 build.target darwin-esd 28 platform macosx i386 { 29 configure.args-append --with-cpu=x86 40 30 } 41 31 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 32 platform macosx powerpc { 33 configure.args-append --with-cpu=altivec 47 34 }