source: trunk/dports/audio/libsdl2_mixer/Portfile

Last change on this file was 144432, checked in by jmr@…, 19 months ago

libsdl2_mixer: update to 2.0.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 144432 2016-01-08 22:45:47Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            libsdl2_mixer
6set my_name     SDL2_mixer
7version         2.0.1
8categories      audio devel
9platforms       darwin
10license         zlib
11maintainers     jmr openmaintainer
12description     Audio mixer library for SDL
13
14long_description \
15    A sample multi-channel audio mixer library. It supports any number of \
16    simultaneously playing channels of 16 bit stereo audio, plus a single \
17    channel of music.
18
19homepage        http://www.libsdl.org/projects/SDL_mixer/
20master_sites    ${homepage}release/
21distname        ${my_name}-${version}
22
23checksums       rmd160 1b7420e4320be401e5a27fad5b6dfa2c16778f03 \
24                sha256 5a24f62a610249d744cbd8d28ee399d8905db7222bf3bdbc8a8b4a76e597695f
25
26depends_build   port:pkgconfig
27depends_lib     port:libsdl2 \
28                port:smpeg2 \
29                port:flac \
30                port:libvorbis \
31                port:libmikmod
32
33configure.args  --disable-sdltest \
34                --disable-smpegtest \
35                --disable-music-mod-modplug \
36                --disable-music-midi-fluidsynth \
37                --enable-music-mod-mikmod \
38                --disable-music-mod-mikmod-shared \
39                --disable-music-ogg-shared \
40                --disable-music-flac-shared \
41                --disable-music-mp3-smpeg-shared
42
43post-destroot {
44    set docdir ${prefix}/share/doc/${name}
45    xinstall -d ${destroot}${docdir}
46    xinstall -m 0644 -W ${worksrcpath} CHANGES.txt COPYING.txt README.txt \
47        ${destroot}${docdir}
48}
49
50livecheck.type  regex
51livecheck.url   ${homepage}
52livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.