RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/audio/mpg123/Portfile,v
retrieving revision 1.12
diff -a -u -a -u -r1.12 Portfile
|
|
|
5 | 5 | version pre0.59s |
6 | 6 | revision 0 |
7 | 7 | categories audio |
8 | | maintainers darwinports@opendarwin.org |
| 8 | maintainers danchr@opendarwin.org |
9 | 9 | description fast mp3 player for linux and unix systems |
10 | 10 | long_description \ |
11 | 11 | Mpg123 is a fast, free and portable MPEG audio player for Unix. It \ |
12 | 12 | supports MPEG 1.0/2.0 layers 1, 2 and 3. For full CD quality \ |
13 | 13 | playback (44 kHz, 16 bit, stereo) a Pentium, SPARCstation10, DEC \ |
14 | 14 | Alpha or similar CPU is required. Mono and/or reduced quality \ |
15 | | playback (22 kHz or 11 kHz) is even possible on 486 CPUs. |
| 15 | playback (22 kHz or 11 kHz) is even possible on 486 CPUs. \ |
| 16 | \ |
| 17 | This version uses EsounD on a pure Darwin install and CoreAudio \ |
| 18 | on Mac OS X. |
| 19 | |
16 | 20 | homepage http://www.mpg123.de/ |
17 | 21 | platforms darwin |
18 | 22 | master_sites http://www.mpg123.de/mpg123/ |
19 | 23 | checksums md5 a63675b0ea7990d4a7d7e7e14f23a3e4 |
20 | 24 | worksrcdir ${name} |
21 | | depends_lib lib:libaudiofile.0:audiofile lib:libesd.0:esound |
| 25 | depends_lib lib:libaudiofile.0:audiofile |
22 | 26 | post-patch { |
23 | 27 | reinplace "s|PREFIX=/usr/local|PREFIX=${prefix}|g" "${worksrcpath}/Makefile" |
24 | 28 | } |
… |
… |
|
27 | 31 | CPPFLAGS=-I${prefix}/include |
28 | 32 | destroot.destdir PREFIX=${destroot}/${prefix} |
29 | 33 | |
| 34 | variant puredarwin { } |
| 35 | |
30 | 36 | variant darwin { |
31 | | patchfiles patch-Makefile |
32 | | build.target darwin-esd |
| 37 | if { ! [variant_isset puredarwin] } { |
| 38 | depends_lib-append \ |
| 39 | lib:/Library/Frameworks/CoreAudio.framework:XXX |
| 40 | patchfiles patch-macosx.diff |
| 41 | build.target macosx |
| 42 | } else { |
| 43 | depends_lib-append lib:libesd.0:esound |
| 44 | patchfiles patch-Makefile |
| 45 | build.target darwin-esd |
| 46 | } |
33 | 47 | } |