source: trunk/dports/audio/libsdl_mixer/Portfile @ 38596

Last change on this file since 38596 was 38596, checked in by ryandesign@…, 11 years ago

libsdl_mixer: enable parallel build

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 38596 2008-07-25 12:10:20Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            libsdl_mixer
6set my_name     SDL_mixer
7version         1.2.8
8categories      audio devel
9platforms       macosx
10maintainers     nomaintainer
11use_parallel_build  yes
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/${my_name}/
20master_sites    ${homepage}release/
21distname        ${my_name}-${version}
22
23checksums       md5 0b5b91015d0f3bd9597e094ba67c4d65 \
24                sha1 7fa56d378f9ca53434f9470aeb2997ad84a348c6 \
25                rmd160 f2188b907aa779bb81415ac6726ad7f496357b85
26
27depends_lib     port:libsdl \
28                port:smpeg \
29                port:libvorbis \
30                port:libogg
31
32configure.args  --with-sdl-prefix=${prefix} \
33                --disable-sdltest \
34                --with-smpeg-prefix=${prefix} \
35                --disable-smpegtest
36
37post-destroot {
38    set docdir ${prefix}/share/doc/${name}-${version}
39    xinstall -d ${destroot}${docdir}
40    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
41        ${destroot}${docdir}
42}
43
44variant mikmod description {Enable use of external libmikmod} {
45    configure.args-append   --enable-music-libmikmod
46    depends_lib-append      port:libmikmod
47}
48
49livecheck.check regex
50livecheck.url   ${homepage}
51livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.