Ticket #2956: libsdl_mixer.diff
File libsdl_mixer.diff, 1.1 KB (added by mww@…, 20 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 name libsdl_mixer 5 5 version 1.2.6 6 revision 16 revision 2 7 7 categories audio devel 8 8 maintainers blb@pobox.com rshaw@opendarwin.org 9 9 description Audio mixer library for SDL … … 21 21 checksums md5 2b8beffad9179d80e598c22c80efb135 \ 22 22 sha1 d8e09d87a750c4bd989f0a3e4f1b6baff601b8f1 23 23 24 depends_lib bin:sdl-config:libsdl 24 depends_lib bin:sdl-config:libsdl lib:libsmpeg:smpeg \ 25 port:libvorbis port:libogg 25 26 26 27 configure.env CPPFLAGS="-no-cpp-precomp -I${prefix}/include" \ 27 28 LDFLAGS="-L${prefix}/lib" 28 configure.args --with-sdl-prefix=${prefix} --disable-music-mp3 \ 29 --disable-sdltest 30 31 variant mp3 { 32 depends_lib-append lib:libsmpeg:smpeg 33 configure.args-delete --disable-music-mp3 34 configure.args-append --enable-music-mp3 --with-smpeg-prefix=${prefix} 35 } 29 configure.args --with-sdl-prefix=${prefix} --disable-sdltest \ 30 --enable-music-mp3 --with-smpeg-prefix=${prefix} --enable-music-ogg 36 31 37 32 post-destroot { 38 33 xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}