1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 53548 2009-07-08 01:53:57Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name cdparanoia |
---|
7 | epoch 20050508 |
---|
8 | version 10.2 |
---|
9 | categories audio |
---|
10 | maintainers nomaintainer |
---|
11 | description An audio extraction tool for sampling CDs. |
---|
12 | long_description \ |
---|
13 | Cdparanoia is a Compact Disc Digital Audio (CDDA) extraction tool, \ |
---|
14 | commonly known on the net as a 'ripper'. The application is built \ |
---|
15 | on top of the Paranoia library, which is doing the real work (the \ |
---|
16 | Paranoia source is included in the cdparanoia source distribution). \ |
---|
17 | Like the original cdda2wav, cdparanoia package reads audio from the \ |
---|
18 | CDROM directly as data, with no analog step between, and writes the \ |
---|
19 | data to a file or pipe in WAV, AIFC or raw 16 bit linear PCM. \ |
---|
20 | Cdparanoia is a bit different than most other CDDA extraction \ |
---|
21 | tools. It contains few-to-no 'extra' features, concentrating only \ |
---|
22 | on the ripping process and knowing as much as possible about the \ |
---|
23 | hardware performing it. Cdparanoia will read correct, rock-solid \ |
---|
24 | audio data from inexpensive drives prone to misalignment, frame \ |
---|
25 | jitter and loss of streaming during atomic reads. Cdparanoia will \ |
---|
26 | also read and repair data from CDs that have been damaged in some \ |
---|
27 | way. At the same time, however, cdparanoia turns out to be easy to \ |
---|
28 | use and administrate. It has no compile time configuration, happily \ |
---|
29 | autodetecting the CDROM, its type, its interface and other aspects \ |
---|
30 | of the ripping process at runtime. A single binary can serve the \ |
---|
31 | diverse hardware of the do-it-yourself computer laboratory from Hell... |
---|
32 | |
---|
33 | # Original osx port mentioned here: http://www.livejournal.com/users/strangehours/9698.html |
---|
34 | homepage http://www.xiph.org/paranoia |
---|
35 | platforms darwin |
---|
36 | |
---|
37 | distname cdparanoia-III-${version} |
---|
38 | extract.suffix .src.tgz |
---|
39 | master_sites http://downloads.xiph.org/releases/cdparanoia |
---|
40 | checksums md5 b304bbe8ab63373924a744eac9ebc652 \ |
---|
41 | sha1 1901e20d3a370ca6afa4c76a9ef30d3f03044320 \ |
---|
42 | rmd160 d6c4ea9cc4aa4d5bcca4985e668ea6142d53cc55 |
---|
43 | |
---|
44 | patchfiles osx_interface.patch |
---|
45 | patch.args -p1 |
---|
46 | |
---|
47 | depends_build port:autoconf |
---|
48 | |
---|
49 | use_autoconf yes |
---|
50 | |
---|
51 | # The make file sets its own optimization flags as appropriate. |
---|
52 | configure.cflags-delete -O2 |
---|
53 | # It doesn't need anything from ${prefix}/lib and it finds old versions of its own |
---|
54 | # dynamic libraries there so don't let it look. |
---|
55 | configure.ldflags-delete -L${prefix}/lib |
---|
56 | |
---|
57 | destroot.destdir prefix=${destroot}${prefix} |
---|
58 | |
---|
59 | platform darwin 8 { |
---|
60 | patchfiles-append patch-paranoia_paranoia.c.10.4.diff |
---|
61 | } |
---|
62 | |
---|
63 | livecheck.check regex |
---|
64 | livecheck.url ${master_sites} |
---|
65 | livecheck.regex "cdparanoia-III-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|