-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
55 lines (44 loc) · 2.01 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name libsdl_sound
version 1.0.3
revision 2
categories audio devel
license LGPL-2.1+
maintainers nomaintainer
platforms macosx
description handles decoding of several popular sound file formats
long_description SDL_sound is a library that handles the decoding of \
several popular sound file formats, such as .WAV and \
.MP3. It is meant to make the programmer's sound \
playback tasks simpler.
homepage http://icculus.org/SDL_sound/
master_sites http://icculus.org/SDL_sound/downloads/
distname SDL_sound-${version}
checksums md5 aa09cd52df85d29bee87a664424c94b5 \
sha1 1984bc20b2c756dc71107a5a0a8cebfe07e58cb1 \
rmd160 8e56daa71f827a4a22e7071a4e4f37c21dd96105 \
sha256 3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df \
size 1127100
depends_lib port:libsdl \
port:smpeg \
port:libvorbis \
port:libmodplug \
port:libogg \
port:flac \
path:lib/libspeex.dylib:speex \
port:physfs
patchfiles patch-playsound-physfsrwops.h.diff
configure.args --disable-sdltest \
--disable-smpegtest \
--disable-mikmod
configure.cppflags-append \
-I${prefix}/include/smpeg \
-I${prefix}/include/SDL
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYING CREDITS README TODO \
${destroot}${prefix}/share/doc/${name}
}
livecheck.type regex
livecheck.regex {SDL_sound (\d+(?:\.\d+)*)}