source: trunk/dports/audio/mpd-devel/Portfile @ 28206

Last change on this file since 28206 was 28206, checked in by sfiera@…, 12 years ago

Fixing port lint, obscuring maintainer addresses on my ports, plus a couple of unmaintained ones I was last to commit to.

File size: 1.8 KB
Line 
1# $Id: Portfile 25766 2007-05-31 17:55:17Z sfiera@macports.org $
2
3PortSystem 1.0
4
5name            mpd-devel
6version         0.14.0.r6745
7categories      audio
8maintainers     sfiera
9description     Music Player Daemon development snapshot
10long_description \
11    This is a development snapshot of mpd, containing, among other things, \
12    support for Bonjour/Zeroconf. For more information about mpd, see the mpd \
13    port.
14
15homepage        http://www.musicpd.org/
16platforms       darwin
17master_sites    macports
18checksums       md5 ba011170730857d1bdd4dea55349ef9e \
19                sha1 acf94512ead6eed610cadb8d4c771873a8395d46 \
20                rmd160 2e0e4562fd10e1d374e5b8d123a19781c28018a0
21use_bzip2       yes
22
23depends_lib     port:libmad \
24                port:libid3tag \
25                port:libiconv \
26                port:pkgconfig \
27                port:zlib \
28                port:libogg \
29                port:libvorbis \
30                port:libao
31
32configure.args  --mandir=${prefix}/share/man \
33                --enable-id3 \
34                --enable-ao \
35                --disable-flac \
36                --disable-aac
37
38configure.cflags-append -I${prefix}/include
39
40default_variants +aac
41
42variant aac {
43    depends_lib-append    port:faad2
44    configure.args-delete --disable-aac
45    configure.args-append --enable-aac
46}
47
48variant flac {
49    depends_lib-append    port:flac
50    configure.args-delete --disable-flac
51    configure.args-append --enable-flac
52}
53
54platform macosx {
55    configure.args-delete --enable-ao
56    configure.args-append --disable-ao
57    depends_lib-delete    port:libao
58}
59
60post-activate {
61    ui_msg "You may get \"Problems shmget'ing\" message when launching mpd.
62    In this case, you can increase the values of kern.sysv.shmmax and
63    kern.sysv.shmall in /etc/rc."
64}
65
Note: See TracBrowser for help on using the repository browser.