source: trunk/dports/audio/libsdl_mixer/Portfile

Last change on this file was 114119, checked in by jmr@…, 4 years ago

libsdl dependents: use port: depspec - there's now only one port that provides sdl.pc, and most of these never worked with libsdl-devel in the first place

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 114119 2013-11-29 22:31:11Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            libsdl_mixer
6set my_name     SDL_mixer
7version         1.2.12
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/${my_name}/release-1.2.html
20master_sites    http://www.libsdl.org/projects/${my_name}/release/
21distname        ${my_name}-${version}
22
23checksums       rmd160 99089725824095398bfb34fd9ccb7c16674192d8 \
24                sha256 1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a
25
26depends_build   port:pkgconfig
27depends_lib     port:libsdl \
28                port:flac \
29                port:smpeg \
30                port:libvorbis \
31                port:libmikmod
32
33patchfiles      Makefile.in.diff
34
35configure.args  --disable-sdltest \
36                --disable-smpegtest \
37                --enable-music-mod \
38                --disable-music-mod-shared \
39                --disable-music-ogg-shared \
40                --disable-music-flac-shared \
41                --disable-music-mp3-shared
42
43post-destroot {
44    set docdir ${prefix}/share/doc/${name}
45    xinstall -d ${destroot}${docdir}
46    xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README \
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.