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

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

Livecheck fixes

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